Skip to content

Commit a3fa21f

Browse files
committed
docs: translate api reference > application config
1 parent 7e643ff commit a3fa21f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/api/application-config.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# アプリケーション構成
22

3-
Every Vue application exposes a `config` object that contains the configuration settings for that application:
3+
すべての Vue アプリケーションは、そのアプリケーションの構成設定を含む `config` オブジェクトを公開します:
44

55
```js
66
const app = createApp({})
77

88
console.log(app.config)
99
```
1010

11-
You can modify its properties, listed below, before mounting your application.
11+
アプリケーションをマウントする前に、以下に列挙したプロパティを変更することができます。
1212

1313
## errorHandler
1414

@@ -66,7 +66,7 @@ app.component('child-component', {
6666

6767
アプリケーション内のあらゆるコンポーネントのインスタンスからアクセスできるグローバルなプロパティを追加します。名称が競合した場合、コンポーネントのプロパティが優先されます。
6868

69-
これは、 Vue 2.x における Vue.prototype` 拡張を置き換えることができます:
69+
これは、 Vue 2.x における `Vue.prototype` 拡張を置き換えることができます:
7070

7171
```js
7272
// Before
@@ -95,7 +95,7 @@ Vue の外部にて定義された(Web Components API を利用した場合な
9595
> この関数では、全てのネイティブの HTML ならびに SVG のタグをマッチさせる必要はありません。Vue のパーサが自動的にこのチェックを行います。
9696
9797
::: tip Important
98-
This config option is only respected when using the runtime compiler. If you are using the runtime-only build, `isCustomElement` must be passed to `@vue/compiler-dom` in the build setup instead - for example, via the [`compilerOptions` option in vue-loader](https://vue-loader.vuejs.org/options.html#compileroptions).
98+
この設定オプションは、ランタイムコンパイラを使うときにのみ尊重されます。ランタイム限定ビルドを使う場合、 `isCustomElement` は代わりにビルドの設定で `@vue/compiler-dom` に渡す必要があります。例えば、 [vue-loader の `compilerOptions` オプション](https://vue-loader.vuejs.org/options.html#compileroptions) を経由して渡します。
9999
:::
100100

101101
## optionMergeStrategies
@@ -126,9 +126,9 @@ app.mixin({
126126

127127
カスタムオプションのマージ戦略を定義します。
128128

129-
マージ戦略は、親インスタンスと子インスタンスで定義されたオプションの値をそれぞれ第一引数と第二引数として受け取ります。アプリケーションコンテキストのインスタンスは、第三引数として渡されます
129+
マージ戦略は、親インスタンスと子インスタンスで定義されたオプションの値をそれぞれ第 1 引数と第 2 引数として受け取ります。アプリケーションコンテキストのインスタンスは、第 3 引数として渡されます
130130

131-
- **こちらも:** [Custom Option Merging Strategies](../guide/mixins.html#custom-option-merge-strategies)
131+
- **参照:** [Custom Option Merging Strategies](../guide/mixins.html#custom-option-merge-strategies)
132132

133133
## performance
134134

0 commit comments

Comments
 (0)