Skip to content
KeystoneJS LogoKeystoneJS
👋🏻 Keystone 5 has officially moved to maintenance only. For the latest release of Keystone please visit the Keystone website.

Nuxt.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.

Usage

JS
const { NuxtApp } = require('@keystonejs/app-nuxt');

const config = {
  srcDir: 'src',
  buildDir: 'dist',
};

module.exports = {
  keystone,
  apps: [new GraphQLApp(), new AdminUIApp(), new NuxtApp(config)],
};

Config

A config object can be passed to the NuxtApp instance. Documentation for the nuxtConfig options is available on the NuxtJS documentation website.

On this page

  • Usage
  • Config
Edit on GitHub