Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(ja): translate configuration-vue-config #1000

Merged
merged 4 commits into from
Nov 28, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: 'vue.config プロパティ'
description: 'Vue.config の構成オブジェクト'
menu: vue.config
category: configuration-glossary
position: 32
---

- 型: `Object`
- デフォルト: `{ silent: !isDev, performance: isDev }`

> vue.config プロパティは `Vue.config` 用に直接設定できる橋渡しを提供します。

**例**

```js{}[nuxt.config.js]
export default {
vue: {
config: {
productionTip: true,
devtools: false
}
}
}
```

この設定により次の Vue.config が作成されます:

```js
Vue.config.productionTip // true
Vue.config.devtools // false
Vue.config.silent // !isDev(デフォルト値)
Vue.config.performance // isDev(デフォルト値)
```

`Vue.config` API の詳細については[公式の Vue のドキュメント](https://jp.vuejs.org/v2/api/index.html#%E3%82%B0%E3%83%AD%E3%83%BC%E3%83%90%E3%83%AB%E8%A8%AD%E5%AE%9A)を参照してください。