Skip to content

App Structure

Maye Edwin edited this page Sep 5, 2018 · 2 revisions

Here is the basic skeleton for PWA Fire App that each of the two starter PWA Kits will conform to:

  • For node-module or build process

For node modules, follow the setup guide as curated in the doc folder here to get started building a scalable progressive web app with PWA Fire App.

├── app
│   ├── build
│   ├── node_modules
│   ├── src
│       ├── assets
|          ├── css
|          ├── js
|          ├── scss
│       ├── images
|          ├── icons
|          ├── others
|       ├── pages
│       ├── index.html
│       ├── manifest.json
│       ├── service-worker.js
│   ├── package-lock.json
│   ├── package.json
│   ├── server.js
│   └── sw-config.js
  • For without any build process like npm

If you do not have or do not want to use any build process such as ** npm**, make sure to remove all other files and that your app structure looks as below. Configure your service-worker.js file as in this codelab here

├── app
│   ├── src
│       ├── assets
|          ├── css
|          ├── js
|          ├── scss
│       ├── images
|          ├── icons
|          ├── others
|       ├── pages
│       ├── index.html
│       ├── manifest.json
│       ├── service-worker.js
Clone this wiki locally