Skip to content

matthiaskern/next-offline-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Offline Plugin example

This is based on the work of ssured with https://github.com/ssured/nownextmicro

How to use

Install it and run:

npm install
npm run build
npm start

Deploy it to the cloud with now (download)

now

The idea behind the example

This example uses offline-plugin to generate a service worker. The worker gets registered on the client-side with the help of react-no-ssr. A custom server is needed to deal with the hashing implemented in next.js

About

Example of next.js with a service worker generated by offline plugin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors