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
Copy file name to clipboardExpand all lines: src/api/application-api.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -235,7 +235,7 @@ app.mount('#my-app')
235
235
Providing values via the application is especially useful when writing plugins, as plugins typically wouldn't be able to provide values using components. It is an alternative to using [globalProperties](application-config.html#globalproperties).
236
236
237
237
:::tip Note
238
-
The `provide` and `inject` bindings are NOT reactive. This is intentional. However, if you pass down an observed object, properties on that object do remain reactive.
238
+
The `provide` and `inject` bindings are NOT reactive. This is intentional. However, if you pass down a reactive object, properties on that object do remain reactive.
Install a Vue.js plugin. If the plugin is an Object, it must expose an `install` method. If it is a function itself, it will be treated as the install method.
301
+
Install a Vue.js plugin. If the plugin is an Object, it must expose an `install` method. If it is a function itself, it will be treated as the `install` method.
302
302
303
-
The install method will be called with the application as its first argument. Any `options` passed to `use` will be passed on in subsequent arguments.
303
+
The `install` method will be called with the application as its first argument. Any `options` passed to `use` will be passed on in subsequent arguments.
304
304
305
305
When this method is called on the same plugin multiple times, the plugin will be installed only once.
0 commit comments