Angular with polymer components This Project can serve as a boilerplate for your Angular-Polymer project.
Install node and then run npm install –g @angular/cli
command to install angular-cli globally.
For angular-cli usage : Angular-cli
After installing angular-cli, go to the project and run npm install
or python -m http.server [<portNo>]
and then ng serve
command to serve this project on localhost:4200
.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README