npm install @angular/cli@latest -g
npm g c components/
npm g s services/
ng serve -o // omit '-o' will not open the link with your default browser
ng build --prod // --dev will prepare a dev build with uncompressed JS files
SampleAngular6
npm install @angular/cli@latest -g
npm g c components/
npm g s services/
ng serve -o // omit '-o' will not open the link with your default browser
ng build --prod // --dev will prepare a dev build with uncompressed JS files
SampleAngular6