@koikorn/app-next
v5.2.0
Published
KeystoneJS Next.js App.
Downloads
3
Readme
Next.js app
A KeystoneJS app for serving a Next.js application.
Usage
const { NextApp } = require('@koikorn/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. |