@keystonejs/app-next
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/keystonejs__app-next package

6.1.2 • Public • Published

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.

View changelog

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @keystonejs/app-next

Weekly Downloads

545

Version

6.1.2

License

MIT

Unpacked Size

9.76 kB

Total Files

4

Last publish

Collaborators

  • emmatown
  • jedwatson
  • molomby
  • bladey