examples/document-field-customisation/README.md
A Monorepo with a Keytone server and a Next.js frontend demonstrating three customisations.
DocumentRenderer to render custom components (frontend)DocumentRenderer to add custom styles to default elements (frontend)This example has a higher Node.js version requirement than Keystone itself and other examples. It requires a version of Node.js that supports require(esm). For example, Node.js v22.12.0 and higher should work.
Make sure you are at the root of the repo and install dependencies.
pnpm
Navigate from repo root to examples/document-field-customisation and start the servers.
pnpm dev
The GraphQL Server and Admin UI will start on localhost:3000.
The Next.js server will start and the homepage will be served at localhost:8000.