-
First we can create new Angular Project with Angular-CLI with command:
ng new web
-
Install dependencies (if not automated) with
npm i
oryarn install
-
Try running build for first time with command:
npm run build
It will create new folder./dist
as our output result.
Workbox is a library that bakes in a set of best practices and removes the boilerplate every developer writes when working with service workers.
- Precaching
- Runtime caching
- Strategies
- Request routing
- Background sync
- Helpful debugging
- Run below command in terminal
git clone https://github.com/DhamodharanJaganathan/Angular-Workbox-Starter-Kit.git
cd web
npm i
git checkout main
npm run start:dev
#Dhamodharan Jaganathan