vue.config プロパティ
Vue.config 向けの設定オブジェクト
-
型:
Object
-
デフォルト:
{ silent: !isDev, performance: isDev }
vue.config プロパティは
Vue.config
用に直接設定できる橋渡しを提供します。
例
nuxt.config.js
export default {
vue: {
config: {
productionTip: true,
devtools: false
}
}
}
この設定により次の Vue.config が作成されます:
Vue.config.productionTip // true
Vue.config.devtools // false
Vue.config.silent // !isDev [デフォルト値]
Vue.config.performance // isDev [デフォルト値]
Vue.config
API の詳細については公式の Vue のドキュメント を参照してください。
このページをGitHubで編集する
更新日 Mon, Aug 19, 2024












































