6.0.1 • Published 4 years ago
@keystone-next/app-next-legacy v6.0.1
Next.js app
A KeystoneJS app for serving a Next.js application.
Usage
const { NextApp } = require('@keystone-next/app-next-legacy');
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. |
6.0.1
4 years ago