Skip to content

Very simple code to demonstrate Progressive Web Apps.

Notifications You must be signed in to change notification settings

nanianqiumo/pwa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PWA DEMO

Very simple code to demonstrate Progressive Web Apps.

Usage

This demo app runs on localhost.

npx http-server -c-1 # disable cache

Then open http://localhost:8080 with Chrome.

Change version in sw.js to update app version.

Trouble shooting

  • Why -c-1 to disable cache?

sw.js can be cached by HTTP Caches, then in debugging we could get unexpected behaviors. Disable the cache to simplify the problem.

License

MIT

About

Very simple code to demonstrate Progressive Web Apps.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published