3dfb85d082
The files created when running the app using next-pwa should not be added to git, so I added them to `.gitignore`. Updated by referring to https://github.com/shadowwalker/next-pwa/blob/master/.gitignore. |
||
---|---|---|
.. | ||
pages | ||
public | ||
styles | ||
.gitignore | ||
next.config.js | ||
package.json | ||
README.md | ||
tsconfig.json |
Progressive Web App Example
This example uses next-pwa
to create a progressive web app (PWA) powered by Workbox.
Deploy your own
Deploy the example using Vercel:
How to use
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example progressive-web-app progressive-web-app
# or
yarn create next-app --example progressive-web-app progressive-web-app
# or
pnpm create next-app --example progressive-web-app progressive-web-app
Deploy it to the cloud with Vercel (Documentation).