Sample app built with Angular Material, AoT compilation & webpack: live example
Make sure that you have the latest version of npm:
npm install npm@latest -g
- For development, we use JiT compilation with Hot Module Replacement:
npm install
npm start
Make the changes: the browser will update without refreshing.
- For production, we use AoT compilation, tree shaking & minification:
npm run build
Analyzing the bundle:
npm run explore
Running the sample test:
npm test