Preact with Workbox and a custom service-worker.js for Progressive Web Apps
Switch branches/tags
Nothing to show
Clone or download
Latest commit 9e0dd31 Aug 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src change name Aug 30, 2018
.gitignore first commit Aug 26, 2018
README.md first commit Aug 26, 2018
package.json change name Aug 30, 2018
preact.config.js adding fast async Aug 30, 2018
service-worker.js first commit Aug 26, 2018

README.md

preact-sw-magic

CLI Commands

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# test the production build locally
npm run serve

# run tests with jest and preact-render-spy 
npm run test

For detailed explanation on how things work, checkout the CLI Readme.