Skip to content

Latest commit

 

History

History

pwa

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

PWA Example

Install dependencies

yarn install

Service worker:

yarn build
cd dist # service static content from here
npx serve --cors -p 8007

Run app:

yarn serve

Visit http://localhost:8007/ and click around to some different items. If you then go offline then app will render items from localStorage.