Angular Starter with Webpack Compilation
I created this because I use Angular a lot and was tired of copying and pasting from my random projects.
Includes Angular 6, Webpack 4, and Bootstrap 4.
- Install the packages with
npm i
- Start the webpack dev server with
npm run dev
- Access the web page at
http://localhost:9000
- Since I often run a backend server while developing the frontend, all
/api
endpoints are proxied tohttp://localhost:8080
- Transpiled javascript files are emitted to
lib
to keep thesrc
directory clean. - Angular routes are lazy-loaded.
- Start the build with
npm run build
- Output is emitted to
bin