A directory of Progressive Web App case studies.
See CONTRIBUTING.md
This site is built with Eleventy.
This project relies on Node, and npm. Before following these steps you'll need to install node and npm if you haven't already.
Installation:
- Clone this repository.
cd
into the directory.- Run
npm ci
to install dependencies.
For local development:
npm start
This will compile the site into the _site directory and run a local file server where you can preview the site: http://localhost:8080
For a single build:
npm run build
npm run fetch-icon
This will ask you for the PWA url and the directory to download to. It will fetch the icon from the app's manifest.json
.
To resize all the PWA icons in images
:
- Run
npm install
to install the dependencies - Run
npm run resize-images
to automatically generate optimized 1x and 2x versions of the images