npm install [email protected]
Build Angular Project for Production w/ Relative Path
ng build --prod --base-href ./
Update all npm/Angular packages
// npm packages
npm i -g npm-check-updates
ncu -u
npm install
// angular packages
ng update --all
basic angular requirements
// global req.
npm i -g @angular/cli
Angular setup
// create new app
ng new <PROJECT_NAME>
cd <PROJECT_NAME>
// install angular material
npm i @angular/material @angular/animations @angular/cdk hammerjs
// generate components
ng g c <COMPONENT_NAME>
// generate services
ng g s <SERVICE_NAME>