cca9dd1297
This PR adds `cms-payload` to the examples folder. The demo provides a NextJS frontend, built with Payload, which can be deployed together in a single instance. ### Improving Documentation or adding/fixing Examples - [x] The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - [x] Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md --------- Co-authored-by: Lee Robinson <me@leerob.io> Co-authored-by: JJ Kasper <jj@jjsweb.site>
9 lines
173 B
TypeScript
9 lines
173 B
TypeScript
import handler from '@payloadcms/next-payload/dist/handlers/graphql-playground'
|
|
|
|
export default handler
|
|
|
|
export const config = {
|
|
api: {
|
|
externalResolver: true,
|
|
},
|
|
}
|