Skip to content

DhamodharanJaganathan/Angular-Workbox-Starter-Kit

Repository files navigation

Angular Workbox Starter Kit

Create Angular Project

  1. First we can create new Angular Project with Angular-CLI with command: ng new web

  2. Install dependencies (if not automated) with npm i or yarn install

  3. Try running build for first time with command: npm run build It will create new folder ./dist as our output result.

🔼 back to top

Why Workbox?

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

🔼 back to top

How to clone & run app in local

  • 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

🔼 back to top

#Dhamodharan Jaganathan