mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
cb18aa6f53
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
14 lines
235 B
JavaScript
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
|
|
}
|
|
}
|
|
}
|