@keystonejs/app-next
v6.1.2
Published
KeystoneJS Next.js App.
Downloads
714
Readme
Next.js app
This is the last active development release of this package as Keystone 5 is now in a 6 to 12 month active maintenance phase. For more information please read our Keystone 5 and beyond post.
A KeystoneJS app for serving a Next.js application.
Usage
const { NextApp } = require('@keystonejs/app-next');
module.exports = {
keystone,
apps: [
new GraphQLApp(),
new AdminUIApp({ enableDefaultRoute: false }),
new NextApp({ dir: 'app' }),
],
distDir,
};
Config
| Option | Type | Default | Required | Description |
| ------ | -------- | ------- | -------- | --------------------------------- |
| dir
| String
| null
| true
| The directory of the Next.js app. |