1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-25 10:08:29 +00:00
Nuxt/test/fixtures/config-explicit/nuxt.config.js
Alexander Lichter cb18aa6f53 feat: add Vue.config configuration to nuxt.config.js ()
After  and the request of   (plus ) 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: , 
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
}
}
}