Skip to content
KeystoneJS LogoKeystoneJS

Nuxt.js app

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