Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 1.74 KB

README.md

File metadata and controls

46 lines (24 loc) · 1.74 KB

scala-play-angular-seed

This project was generated with Angular CLI version 1.5.0.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Running watch task

Run ng start to execute the watch task.

Running tests in single run mode

Run ng test-no-watch to execute the unit tests tests in single run mode. This will disable the watch mode and allows to run tests at one time.

Running development build task

Run ng build-dev to execute the development build task. The will generate the output inside public/ui/ folder in the root level.

Running production build task

Run ng build-prod to execute the production build task. The will generate the output with ahead of time compilation support inside public/ui/ folder in the root level.

  • Apart from the above listed tasks you can also define your own task under scripts section of the package.json.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.