Anguar 4 Project Setup with Webpack | Lesson on Coding
A complete tutorial on setting up a highly scalable and configurable Angular 4 project with Webpack. Learn how to optimize your web development throughput with this project configuration!
- npm install
- npm run start
Open http://localhost:8080/
in your browser to see the app
Create a bundle for the browser.
npm run build
and for production version
npm run build:prod
this creates the bundles in a new dist
folder
Start a debug server.
npm start
- Aot
- npm run build:aot
- Production
- npm run build-aot-prod