Nuxt/test/fixtures/config-explicit/nuxt.config.js
Alexander Lichter cb18aa6f53 feat: add Vue.config configuration to nuxt.config.js (#3655)
After #3564 and the request of #3427  (plus #3452) I decided to add a dedicated `vueConfig`object to the `nuxt.config.js` file.

The keys will be projected on Vue.config.

By default, `Vue.config.performance` is enabled in dev mode, `Vue.config.silent` is enabled in production mode.

Doc PR incoming.

Resolves: #2910, #3427
2018-08-08 20:05:23 +01:00

14 lines
235 B
JavaScript

import path from 'path'
export default {
modulesDir: path.join(__dirname, '..', '..', '..', 'node_modules'),
transition: false,
vue: {
config: {
silent: false,
performance: true,
devtools: true
}
}
}