Template AppThis is the template for the frontend using angular2 and angular-cli
npm intallbefore you can do anything. So you can install all dependencies.
If you need to update Run
npm update --saveso you can update any packages, npm will do the best effort.
ng generate component component-nameto generate a new component. You can also use
ng generate directive/pipe/service/class/module. or ng g my-component-name
ng buildto execute the default configuration within the project.
ng build --watch. For automatic rebuild when changes are detected.
ng build --prod. If you need to run the build in production mode.
You can attach static files in the assets folder but we strongly recommend not to do this, always try to add new dependency.
npm startfor a dev server. Navigate to
Running all tests (unit and e2e)Run
npm testto execute all the tests
Running unit testsRun
npm testto execute the unit tests via Karma.
Running end-to-end testsRun
npm run e2eto execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via
Further helpTo get more help on the Angular CLI use
More info for angular Cli via AngulaCLI
Or Ask Jorge or Nathan