This is a very basic next.js progressive webapp, with some initial pages to change a device hostname and ensure connectivity
WARNING: this code is currently mid-refactor to use herakles-lib and should be considered broken until this notice is removed
This example uses next-pwa
to create a progressive web app (PWA) powered by Workbox.
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn 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).