2.1.0 • Published 6 years ago
@keystone-alpha/app-next v2.1.0
KeystoneJS Next.js App
A KeystoneJS App for serving a Next.js application.
Usage
const { NextApp } = require('@keystone-alpha/app-next');
...
module.exports = {
keystone,
apps: [
new GraphQLApp(),
new AdminUIApp(),
new NextApp({ dir: 'app' }),
],
distDir,
};
Config
Option | Type | Default | Required | Description |
---|---|---|---|---|
dir | String | null | true | The directory of the Next.js app. |