You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Default:**`true` (`false` in production builds)
15
+
-**デフォルト:**`true` (プロダクションビルドでは `false`)
16
16
17
-
-**Usage:**
17
+
-**使用方法:**
18
18
19
19
```js
20
20
app.config.devtools=true
21
21
```
22
22
23
-
Configure whether to allow [vue-devtools](https://github.com/vuejs/vue-devtools)inspection. This option's default value is `true`in development builds and `false`in production builds. You can set it to `true` to enable inspection for production builds.
// `info` is a Vue-specific error info, e.g. which lifecycle hook
37
-
//the error was found in
35
+
//エラーハンドリング
36
+
// `info` は、Vue 固有のエラー情報です。例: ライフサイクルフック
37
+
//エラーが見つかった際の処理
38
38
}
39
39
```
40
40
41
-
Assign a handler for uncaught errors during component render function and watchers. The handler gets called with the error and the application instance.
> Error tracking services [Sentry](https://sentry.io/for/vue/)and[Bugsnag](https://docs.bugsnag.com/platforms/browsers/vue/)provide official integrations using this option.
Adds a global property that can be accessed in any component instance inside the application. The component’s property will take priority when there are conflicting keys.
Specifies a method to recognize custom elements defined outside of Vue (e.g., using the Web Components APIs). If component matches this condition, it won't need local or global registration and Vue won't throw a warning about an `Unknown custom element`.
105
+
Vue の外部にて定義された(Web Components API を利用した場合などの)Custom Element を認識する方法を指定します。条件にコンポーネントがマッチした場合は、ローカルならびにグローバルでの登録を必要とせず、`Unknown custom element` の警告をスローしません。
106
106
107
-
> Note that all native HTML and SVG tags don't need to be matched in this function - Vue parser performs this check automatically
107
+
> この関数では、全てのネイティブの HTML ならびに SVG のタグをマッチさせる必要はありません。Vue のパーサが自動的にこのチェックを行います。
108
108
109
109
## optionMergeStrategies
110
110
111
-
-**Type:**`{ [key: string]: Function }`
111
+
-**型:**`{ [key: string]: Function }`
112
112
113
-
-**Default:**`{}`
113
+
-**デフォルト:**`{}`
114
114
115
-
-**Usage:**
115
+
-**使用方法:**
116
116
117
117
```js
118
118
constapp=Vue.createApp({
@@ -129,21 +129,21 @@ app.mixin({
129
129
hello:'Vue'
130
130
})
131
131
132
-
// 'Hello, Vue
132
+
// 'Hello, Vue'
133
133
```
134
134
135
-
Define merging strategies for custom options.
135
+
カスタムオプションのマージ戦略を定義します。
136
136
137
-
The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively. The context application instance is passed as the third argument.
Set this to `true`to enable component init, compile, render and patch performance tracing in the browser devtool performance/timeline panel. Only works in development mode and in browsers that support the [performance.mark](https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark) API.
149
+
コンポーネントの初期化に `true`に設定することで、ブラウザの devtool 内の performance/timeline パネルにて、レンダリングおよびパッチにおけるパフォーマンスの追跡が可能となります。development モード並びに[performance.mark](https://developer.mozilla.org/en-US/docs/Web/API/Performance/mark) API が有効なブラウザでのみ機能します。
0 commit comments