Repository: nuxt/create-nuxt-app
Pull request #529 (2020-05-18 10:18:00)

feat: prepare for Nuxt 2.13
- Add `target` option
- Add `components: true` in `nuxt.config.js`
- Remove components import in `pages/index.vue`
- Add `nuxt export` and `nuxt serve` commands
- Remove `nuxt generate` command
- Use `<PascalCase>` for Vue components


Patch:
diff --git a/README.md b/README.md
index 65a7531..24ee6bc 100644
--- a/README.md
+++ b/README.md
@@ -33,13 +33,13 @@ yarn create nuxt-app <my-project>
 
 ## Features :tada:
 
-1. Choose the package manager
+1. Package manager
     - Yarn
     - Npm
-1. Choose programming language
+1. Programming language
     - JavaScript
     - TypeScript
-1. Choose your favorite UI framework:
+1. UI framework:
     - None (feel free to add one later)
     - [Ant Design Vue](https://github.com/vueComponent/ant-design-vue)
     - [Bootstrap](https://github.com/bootstrap-vue/bootstrap-vue)
@@ -52,32 +52,27 @@ yarn create nuxt-app <my-project>
     - [Tailwind CSS](https://github.com/tailwindcss/tailwindcss)
     - [Vuesax](https://github.com/lusaxweb/vuesax)
     - [Vuetify](https://github.com/vuetifyjs/vuetify)
-1. Choose the runtime for TypeScript (if you choose TypeScript)
-    - Default
-    - [@nuxt/typescript-runtime](https://github.com/nuxt/typescript)
-1. Choose Nuxt.js modules:
+1. Nuxt.js modules:
     - [Axios](https://github.com/nuxt-community/axios-module)
-    - [Progressive Web App (PWA) Support](https://github.com/nuxt-community/pwa-module)
-1. Choose linting tools:
+    - [Progressive Web App (PWA)](https://github.com/nuxt-community/pwa-module)
+    - [Content](https://github.com/nuxt/content)
+1. Linting tools:
     - [ESLint](https://github.com/nuxt/eslint-config)
     - [Prettier](https://github.com/prettier/prettier)
     - [Lint staged files](https://github.com/okonet/lint-staged)
     - [StyleLint](https://github.com/stylelint/stylelint)
-1. Check the features needed for your project:
-    - [PWA](https://pwa.nuxtjs.org/)
-    - Linter / Formatter
-    - [Prettier](https://prettier.io/)
-    - [Axios](https://github.com/nuxt-community/axios-module)
-    - [Tachyons](https://tachyons.io)
-1. Choose your favorite test framework:
+1. Testing framework:
     - None
     - [Jest](https://github.com/facebook/jest)
     - [AVA](https://github.com/avajs/ava)
     - [WebdriverIO](https://webdriver.io)
-1. Choose rendering mode
+1. Rendering mode
     - [Universal (SSR / Static)](https://nuxtjs.org/guide/#server-rendered-universal-ssr-)
     - [SPA](https://nuxtjs.org/guide/#single-page-applications-spa-)
-1. Choose development tools
+1. Deployment target
+    - [Server (Node.js hosting)](https://nuxtjs.org/api/configuration-target)
+    - [Static (Static/JAMStack hosting)](https://nuxtjs.org/api/configuration-target)
+1. Development tools
     - [jsconfig.json](https://code.visualstudio.com/docs/languages/jsconfig)
     - [Semantic PR](https://probot.github.io/apps/semantic-pull-requests/)
 
diff --git a/packages/cna-template/template/nuxt/components/Logo.vue b/packages/cna-template/template/nuxt/components/Logo.vue
index 7d127d7..b1de012 100644
--- a/packages/cna-template/template/nuxt/components/Logo.vue
+++ b/packages/cna-template/template/nuxt/components/Logo.vue
@@ -14,6 +14,7 @@
     />
   </svg>
 </template>
+
 <style>
 .NuxtLogo {
   animation: 1s appear;
diff --git a/packages/cna-template/template/nuxt/layouts/default.vue b/packages/cna-template/template/nuxt/layouts/default.vue
index 2e3596d..6c2077d 100644
--- a/packages/cna-template/template/nuxt/layouts/default.vue
+++ b/packages/cna-template/template/nuxt/layouts/default.vue
@@ -1,6 +1,6 @@
 <template>
   <div>
-    <nuxt />
+    <Nuxt />
   </div>
 </template>
 
diff --git a/packages/cna-template/template/nuxt/nuxt.config.js b/packages/cna-template/template/nuxt/nuxt.config.js
index ab3c6b3..866293d 100644
--- a/packages/cna-template/template/nuxt/nuxt.config.js
+++ b/packages/cna-template/template/nuxt/nuxt.config.js
@@ -8,6 +8,11 @@ export default {
   */
   mode: '<%= mode %>',
   /*
+  ** Nuxt target
+  ** See https://nuxtjs.org/api/configuration-target
+  */
+  target: '<%= target %>',
+  /*
   ** Headers of the page
   ** See https://nuxtjs.org/api/configuration-head
   */
@@ -68,6 +73,11 @@ export default {
     <%_ } _%>
   ],
   /*
+  ** Auto import components
+  ** See https://nuxtjs.org/api/configuration-components
+  */
+  components: true,
+  /*
   ** Nuxt.js dev-modules
   */
   buildModules: [
diff --git a/packages/cna-template/template/nuxt/package.js b/packages/cna-template/template/nuxt/package.js
index 2333d20..4a976fe 100644
--- a/packages/cna-template/template/nuxt/package.js
+++ b/packages/cna-template/template/nuxt/package.js
@@ -9,7 +9,7 @@ module.exports = {
     }
 
     const { scripts } = pkg
-    const { features, language = [], linter = [], runtime = [] } = generator.answers
+    const { features, language = [], linter = [] } = generator.answers
 
     // Linter
     const eslint = linter.includes('eslint')
@@ -70,20 +70,18 @@ module.exports = {
 
     // TS
     const typescript = language.includes('ts')
-    const tsRuntime = runtime.includes('ts-runtime')
 
     if (!typescript) {
       delete pkg.devDependencies['@nuxt/typescript-build']
+      delete pkg.dependencies['@nuxt/typescript-runtime']
     }
     if (!typescript || !eslint) {
       delete pkg.devDependencies['@nuxtjs/eslint-config-typescript']
     }
-    if (tsRuntime) {
+    if (typescript) {
       for (const key of Object.keys(scripts)) {
         scripts[key] = scripts[key].replace(/^nuxt /, 'nuxt-ts ')
       }
-    } else {
-      delete pkg.dependencies['@nuxt/typescript-runtime']
     }
     return pkg
   }
diff --git a/packages/cna-template/template/nuxt/package.json b/packages/cna-template/template/nuxt/package.json
index c1cb708..bb8d66c 100644
--- a/packages/cna-template/template/nuxt/package.json
+++ b/packages/cna-template/template/nuxt/package.json
@@ -3,7 +3,8 @@
     "dev": "nuxt",
     "build": "nuxt build",
     "start": "nuxt start",
-    "generate": "nuxt generate",
+    "export": "nuxt export",
+    "serve": "nuxt serve",
     "lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .",
     "lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore"
   },
diff --git a/packages/cna-template/template/nuxt/pages/index.vue b/packages/cna-template/template/nuxt/pages/index.vue
index 6683207..02630c9 100644
--- a/packages/cna-template/template/nuxt/pages/index.vue
+++ b/packages/cna-template/template/nuxt/pages/index.vue
@@ -1,7 +1,7 @@
 <template>
   <div class="container">
     <div>
-      <logo />
+      <Logo />
       <h1 class="title">
         <%= name %>
       </h1>
@@ -30,23 +30,12 @@
 <%_ if (typescript) { _%>
 <script lang="ts">
 import Vue from 'vue'
-import Logo from '~/components/Logo.vue'
 
-export default Vue.extend({
-  components: {
-    Logo
-  }
-})
+export default Vue.extend({})
 </script>
 <%_ } else { _%>
 <script>
-import Logo from '~/components/Logo.vue'
-
-export default {
-  components: {
-    Logo
-  }
-}
+export default {}
 </script>
 <%_ } _%>
 
diff --git a/packages/create-nuxt-app/lib/prompts.js b/packages/create-nuxt-app/lib/prompts.js
index 895c65f..08d8363 100644
--- a/packages/create-nuxt-app/lib/prompts.js
+++ b/packages/create-nuxt-app/lib/prompts.js
@@ -1,12 +1,12 @@
 module.exports = [
   {
     name: 'name',
-    message: 'Project name',
+    message: 'Project name:',
     default: '{outFolder}'
   },
   {
     name: 'language',
-    message: 'Choose programming language',
+    message: 'Programming language:',
     choices: [
       { name: 'JavaScript', value: 'js' },
       { name: 'TypeScript', value: 'ts' }
@@ -16,7 +16,7 @@ module.exports = [
   },
   {
     name: 'pm',
-    message: 'Choose the package manager',
+    message: 'Package manager:',
     choices: [
       { name: 'Yarn', value: 'yarn' },
       { name: 'Npm', value: 'npm' }
@@ -26,7 +26,7 @@ module.exports = [
   },
   {
     name: 'ui',
-    message: 'Choose UI framework',
+    message: 'UI framework:',
     type: 'list',
     pageSize: 15,
     choices: [
@@ -45,31 +45,21 @@ module.exports = [
     ],
     default: 'none'
   },
-  {
-    name: 'runtime',
-    message: 'Choose the runtime for TypeScript',
-    type: 'list',
-    choices: [
-      { name: 'Default', value: 'none' },
-      { name: '@nuxt/typescript-runtime', value: 'ts-runtime' }
-    ],
-    when: answers => answers.language === 'ts'
-  },
   {
     name: 'features',
-    message: 'Choose Nuxt.js modules',
+    message: 'Nuxt.js modules:',
     type: 'checkbox',
     pageSize: 10,
     choices: [
       { name: 'Axios', value: 'axios' },
-      { name: 'Progressive Web App (PWA) Support', value: 'pwa' },
+      { name: 'Progressive Web App (PWA)', value: 'pwa' },
       { name: 'Content', value: 'content' }
     ],
     default: []
   },
   {
     name: 'linter',
-    message: 'Choose linting tools',
+    message: 'Linting tools:',
     type: 'checkbox',
     pageSize: 10,
     choices: [
@@ -82,7 +72,7 @@ module.exports = [
   },
   {
     name: 'test',
-    message: 'Choose test framework',
+    message: 'Testing framework:',
     type: 'list',
     choices: [
       { name: 'None', value: 'none' },
@@ -94,17 +84,27 @@ module.exports = [
   },
   {
     name: 'mode',
-    message: 'Choose rendering mode',
+    message: 'Rendering mode:',
     type: 'list',
     choices: [
-      { name: 'Universal (SSR / Static)', value: 'universal' },
+      { name: 'Universal (SSR / SSG)', value: 'universal' },
       { name: 'Single Page App', value: 'spa' }
     ],
     default: 'universal'
   },
+  {
+    name: 'target',
+    message: 'Deployment target:',
+    type: 'list',
+    choices: [
+      { name: 'Server (Node.js hosting)', value: 'server' },
+      { name: 'Static (Static/JAMStack hosting)', value: 'static' }
+    ],
+    default: 'server'
+  },
   {
     name: 'devTools',
-    message: 'Choose development tools',
+    message: 'Development tools:',
     type: 'checkbox',
     choices: [
       { name: 'jsconfig.json (Recommended for VS Code)', value: 'jsconfig.json' },
diff --git a/packages/create-nuxt-app/lib/saofile.js b/packages/create-nuxt-app/lib/saofile.js
index a68f3fb..c899c0d 100644
--- a/packages/create-nuxt-app/lib/saofile.js
+++ b/packages/create-nuxt-app/lib/saofile.js
@@ -11,7 +11,6 @@ module.exports = {
   prompts: require('./prompts'),
   templateData () {
     const typescript = this.answers.language.includes('ts')
-    const tsRuntime = this.answers.runtime && this.answers.runtime.includes('ts-runtime')
     const pwa = this.answers.features.includes('pwa')
     const eslint = this.answers.linter.includes('eslint')
     const prettier = this.answers.linter.includes('prettier')
@@ -27,7 +26,6 @@ module.exports = {
 
     return {
       typescript,
-      tsRuntime,
       pwa,
       eslint,
       prettier,


Test patch:
diff --git a/packages/create-nuxt-app/test/snapshots/index.test.js.md b/packages/create-nuxt-app/test/snapshots/index.test.js.md
index 75d9a6a..9d0da14 100644
--- a/packages/create-nuxt-app/test/snapshots/index.test.js.md
+++ b/packages/create-nuxt-app/test/snapshots/index.test.js.md
@@ -39,7 +39,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -54,6 +55,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -80,6 +86,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -134,7 +145,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -149,6 +161,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -175,6 +192,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -229,7 +251,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -244,6 +267,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -270,6 +298,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -325,7 +358,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -340,6 +374,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -366,6 +405,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -420,7 +464,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -435,6 +480,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -461,6 +511,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -486,7 +541,7 @@ Generated by [AVA](https://avajs.dev).
     }␊
     `
 
-## verify features: Axios, Progressive Web App (PWA) Support, Content
+## verify features: Axios, Progressive Web App (PWA), Content
 
 > Generated files
 
@@ -526,7 +581,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -541,6 +597,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -567,6 +628,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -637,7 +703,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -652,6 +719,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -678,6 +750,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -703,7 +780,7 @@ Generated by [AVA](https://avajs.dev).
     }␊
     `
 
-## verify features: Progressive Web App (PWA) Support
+## verify features: Progressive Web App (PWA)
 
 > Generated files
 
@@ -740,7 +817,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -755,6 +833,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -781,6 +864,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -835,7 +923,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -850,6 +939,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -876,6 +970,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -923,6 +1022,7 @@ Generated by [AVA](https://avajs.dev).
 
     {
       dependencies: {
+        '@nuxt/typescript-runtime': '^0.4.10',
         nuxt: '^2.13.0',
       },
       devDependencies: {
@@ -930,10 +1030,11 @@ Generated by [AVA](https://avajs.dev).
       },
       private: true,
       scripts: {
-        build: 'nuxt build',
+        build: 'nuxt-ts build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
-        start: 'nuxt start',
+        export: 'nuxt-ts export',
+        serve: 'nuxt-ts serve',
+        start: 'nuxt-ts start',
       },
     }
 
@@ -947,6 +1048,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -973,6 +1079,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1034,9 +1145,10 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
         lint: 'yarn lint:js',
         'lint:js': 'eslint --ext .js,.vue --ignore-path .gitignore .',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1051,6 +1163,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1077,6 +1194,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1159,10 +1281,11 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
         lint: 'yarn lint:js && yarn lint:style',
         'lint:js': 'eslint --ext .js,.vue --ignore-path .gitignore .',
         'lint:style': 'stylelint **/*.{vue,css} --ignore-path .gitignore',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1177,6 +1300,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1203,6 +1331,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1260,7 +1393,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1275,6 +1409,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1301,6 +1440,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1359,7 +1503,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1374,6 +1519,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1400,6 +1550,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1458,9 +1613,10 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
         lint: 'yarn lint:style',
         'lint:style': 'stylelint **/*.{vue,css} --ignore-path .gitignore',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1475,6 +1631,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1501,6 +1662,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1556,7 +1722,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1571,6 +1738,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'spa',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1597,6 +1769,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1615,7 +1792,7 @@ Generated by [AVA](https://avajs.dev).
     }␊
     `
 
-## verify mode: Universal (SSR / Static)
+## verify mode: Universal (SSR / SSG)
 
 > Generated files
 
@@ -1650,7 +1827,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1665,6 +1843,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1691,6 +1874,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1744,7 +1932,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1759,6 +1948,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1785,6 +1979,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1838,7 +2037,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1853,6 +2053,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1879,6 +2084,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1897,7 +2107,7 @@ Generated by [AVA](https://avajs.dev).
     }␊
     `
 
-## verify runtime: @nuxt/typescript-runtime
+## verify target: Server (Node.js hosting)
 
 > Generated files
 
@@ -1932,7 +2142,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -1947,6 +2158,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -1973,6 +2189,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -1991,7 +2212,7 @@ Generated by [AVA](https://avajs.dev).
     }␊
     `
 
-## verify runtime: Default
+## verify target: Static (Static/JAMStack hosting)
 
 > Generated files
 
@@ -2026,7 +2247,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -2041,6 +2263,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'static',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2067,6 +2294,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2136,7 +2368,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
         test: 'yarn test:unit && yarn test:e2e',
         'test:e2e': 'cross-env TEST=e2e ava ./test/e2e/**/*',
@@ -2154,6 +2387,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2180,6 +2418,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2242,7 +2485,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
         test: 'jest',
       },
@@ -2258,6 +2502,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2284,6 +2533,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2337,7 +2591,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -2352,6 +2607,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2378,6 +2638,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2442,7 +2707,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
         'test:e2e': 'wdio wdio.conf.js',
       },
@@ -2458,6 +2724,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2484,6 +2755,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2539,7 +2815,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -2554,6 +2831,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2582,6 +2864,11 @@ Generated by [AVA](https://avajs.dev).
         '@/plugins/antd-ui'␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2637,7 +2924,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -2652,6 +2940,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2678,6 +2971,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2737,7 +3035,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -2752,6 +3051,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2778,6 +3082,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2834,7 +3143,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -2849,6 +3159,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2875,6 +3190,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -2939,7 +3259,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -2954,6 +3275,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -2982,6 +3308,11 @@ Generated by [AVA](https://avajs.dev).
         '@/plugins/element-ui'␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -3043,8 +3374,9 @@ Generated by [AVA](https://avajs.dev).
         build: 'nuxt build',
         'build:framevuerk': 'framevuerk-builder -c ./framevuerk-config.js',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
         prepublish: 'yarn build:framevuerk',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -3059,6 +3391,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -3092,6 +3429,11 @@ Generated by [AVA](https://avajs.dev).
         '@/plugins/framevuerk'␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -3145,7 +3487,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -3160,6 +3503,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -3186,6 +3534,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -3240,7 +3593,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -3255,6 +3609,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -3282,6 +3641,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -3337,7 +3701,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -3352,6 +3717,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -3378,6 +3748,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -3436,7 +3811,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -3451,6 +3827,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -3479,6 +3860,11 @@ Generated by [AVA](https://avajs.dev).
         '@/plugins/vuesax'␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -3540,7 +3926,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -3556,6 +3943,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -3583,6 +3975,11 @@ Generated by [AVA](https://avajs.dev).
       plugins: [␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊
@@ -3660,7 +4057,8 @@ Generated by [AVA](https://avajs.dev).
       scripts: {
         build: 'nuxt build',
         dev: 'nuxt',
-        generate: 'nuxt generate',
+        export: 'nuxt export',
+        serve: 'nuxt serve',
         start: 'nuxt start',
       },
     }
@@ -3675,6 +4073,11 @@ Generated by [AVA](https://avajs.dev).
       */␊
       mode: 'universal',␊
       /*␊
+      ** Nuxt target␊
+      ** See https://nuxtjs.org/api/configuration-target␊
+      */␊
+      target: 'server',␊
+      /*␊
       ** Headers of the page␊
       ** See https://nuxtjs.org/api/configuration-head␊
       */␊
@@ -3703,6 +4106,11 @@ Generated by [AVA](https://avajs.dev).
         '@/plugins/iview'␊
       ],␊
       /*␊
+      ** Auto import components␊
+      ** See https://nuxtjs.org/api/configuration-components␊
+      */␊
+      components: true,␊
+      /*␊
       ** Nuxt.js dev-modules␊
       */␊
       buildModules: [␊