Skip to content

仓库 files navigation

A simple app for the PWA Workshop

Prerequisites

  1. Latest stable versions of node, npm installed.
  2. Static web server with SPA support:
  • serve. Recommended and pre-configured.
  • superstatic. Use this as a fallback option.

Installation

  1. Clone the repo
git clone git@github.com:webmaxru/pwatter.git
  1. Make sure you are on "workbox" branch:
git checkout workbox
  1. Install dependencies:
npm install
  1. Install "serve" dev webserver:
npm install serve -g
  1. Run the server inside "pwatter" directory:
serve
  1. Install Workbox CLI:
npm install workbox-cli --global
  1. Open the browser:
http://localhost:5000/ 

You should see the page with PWAtter header.

We are ready to start the workshop! 关注 the trainer instructions.

If for some reasons global npm package installation is not an option for you, you can install and run "serve" locally:

npm install serve
node_modules/.bin/serve

关于

Angular Progressive Web App using Workbox

Topics

Resources

Stars

161 stars

关注者

18 watching

复刻s

发布

Used by

贡献者

Languages