API: The vue.config Property

  • Type: Object
  • Default: { silent: !isDev, performance: isDev }

The vue.config property provides a direct configuration bridge for the Vue.config

Example

nuxt.config.js

  1. export default {
  2. vue: {
  3. config: {
  4. productionTip: true,
  5. devtools: false
  6. }
  7. }
  8. }

This configuration will lead to the following Vue.config:

  1. Vue.config.productionTip // true
  2. Vue.config.devtools // false
  3. Vue.config.silent // !isDev [default value]
  4. Vue.config.performance // isDev [default value]

To learn more about the Vue.config API, check out the official Vue documentation