0.0.19 • Published 6 years ago
frontend-backoffice v0.0.19
Master
Applicativo base per la gestione di piu' sottoprogetti angular per il backoffice di HotelNet
Creazione sottoprogetto
Eseguire il comando:
ng generate application [nomeApp]
Modificare il file package.json aggiungendo alla sezione scripts la build, start, watch, test dedicate:
"scripts": {
    "start:[nomeApp]": "ng serve --project=[nomeApp]",
    ...
    ...
    "build:[nomeApp]": "ng build --project=[nomeApp] --deploy-url Master/dist/[nomeApp]/",
    ...
    ...
    "watch:[nomeApp]": "ng build --project=[nomeApp] --deploy-url Master/dist/[nomeApp]/ --watch",
    ...
    ...
    "test:[nomeApp]": "ng test --project=[nomeApp]",
    ...
    ...
  },