rsnext/examples/cms-strapi/pages
Henrik Wenz 64a3697d05
[Docs] Update examples to favour functional _document (#39871)
## 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)
2022-08-23 18:52:31 +00:00
..
api Add new import flow to CMS examples (#14053) 2020-06-11 23:44:23 +00:00
posts CMS Strapi Example (#12701) 2020-06-01 18:49:43 -05:00
_app.js CMS Strapi Example (#12701) 2020-06-01 18:49:43 -05:00
_document.js [Docs] Update examples to favour functional _document (#39871) 2022-08-23 18:52:31 +00:00
index.js CMS Strapi Example (#12701) 2020-06-01 18:49:43 -05:00