Skip to content
KeystoneJS LogoKeystoneJSv5

Nuxt.js App

Usage

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.

Have you found a mistake, something that is missing, or could be improved on this page? Please edit the Markdown file on GitHub and submit a PR with your changes.

Edit Page