7.0.7 • Published 3 years ago
@itoa/app-next v7.0.7
Next.js app
This is the last active development release of this package as Itoa 5 is now in a 6 to 12 month active maintenance phase. For more information please read our Itoa 5 and beyond post.
A ItoaJS app for serving a Next.js application.
Usage
const { NextApp } = require('@itoa/app-next');
module.exports = {
itoa,
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. |