Angular Command
Ng command
Create new project
>ng new projectCreate new Component
>ng g c componentCreate new service
>ng g s service
Start ng server
>ng serve or >ng serve --prod
Build application
>ng build or >ng build --prod
Add bootstrap to project
install bootstrap
>npm install bootstrap --save
include bootstrap to stlye.css
@import "~bootstrap/dist/css/bootstrap.css";
Last updated
Was this helpful?