64a3697d05
## Changes - Migrate class based `_document`s to functional documents - Removed `_document.js` where default - Removed `MyDocument.getInitialProps` where default ## Motivation This removes some boilerplate and prepares examples for server components. ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm lint` - [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) |
||
---|---|---|
.. | ||
pages | ||
public | ||
.gitignore | ||
next.config.js | ||
package.json | ||
README.md |
next-offline example
This example demonstrates how to use the next-offline plugin It includes manifest.json to install app via chrome
How to use
Execute create-next-app
with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-next-offline with-next-offline-app
yarn create next-app --example with-next-offline with-next-offline-app
pnpm create next-app --example with-next-offline with-next-offline-app
Deploy it to the cloud with Vercel (Documentation).