Skip to content

Commit 801245e

Browse files
authoredApr 30, 2025
Fix: provide/inject in plugins.md
plugins allow us to use `provide` to provide a function or attribute plugin users are able to `inject` the plugin function or attribute
1 parent cfeabfb commit 801245e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/guide/reusability/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Use global properties scarcely, since it can quickly become confusing if too man
9797

9898
### Provide / Inject with Plugins {#provide-inject-with-plugins}
9999

100-
Plugins also allow us to use `inject` to provide a function or attribute to the plugin's users. For example, we can allow the application to have access to the `options` parameter to be able to use the translations object.
100+
Plugins also allow us to use `provide` to provide a function or attribute to the plugin's users. For example, we can allow the application to have access to the `options` parameter to be able to use the translations object.
101101

102102
```js{10}
103103
// plugins/i18n.js

0 commit comments

Comments
 (0)