Skip to content

michaellperry/starter-javascript-workbox-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workbox Starter Kit for JavaScript and React

This starter kit uses Webpack to bundle both the client and the server.

Find out more about Webpack, React, and Workbox.

Installing

The easiest way to use this starter kit is to clone it and delete the Git associations.

git clone https://github.com/michaellperry/starter-javascript-workbox-react.git myapplication
cd myapplication
rm -rf .git

Once you have the code, run:

npm install

Building

To build:

npm run build

This creates a dist folder with the server-side code in server.js, and the client-side code in scripts/main.js.

Running

To run:

npm start

Developing

After the first build, you will probably want to run in development mode:

npm run dev

This will watch the source code for changes and rebuild as necessary. It will restart the server to load those changes.

Build something incredible!

About

A starter kit for a PWA based on Workbox using React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages