PWA Edit
PWA Edit is the sample app that you'll build as you complete the PWA Workshop.
Files
There are two kinds of files in this codebase: application files and source files. Application files are files you will not touch during the course of the workshop; they exist to provide a full functional experience. Source files are files you'll be touching throughout the course of the workshop.
Source files
js/main.js
- Main application JavaScriptservice-worker.js
- Service worker file, first use during the Going Offline codelabmanifest.json
- Web App Manifest file, first used during the From Tab to Taskbar codelabjs/lib/install.js
- Provides a base class for the install button, used during the Install Button codelabjs/lib/actions.js
- Provides a base class for the menu, used during the Capable codelab
Application files
index.html
- Main application HTMLoffline.html
- Offline fallback HTMLpreview/index.html
- Preview page HTMLcss/*
- Styling for the applcationimages/*
- Images associated with the applicationpackage.json
andpackage-lock.json
- Node dependency fileswmr.config.mjs
- Config file for WMR, the light-weight build tool being used for this project.