A toDo List application Demo is created using Angular-cli and Workbox with webpack is used to achieve PWA(Progressive Web App). Features included in current applicatin to acheive PWA is :
- Lazy-Loading
- Offline support using service-worker(workbox)
Download/clone repository and Run using follow commands for a dev server:
- npm install
- npm run build
- npm start
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.