Skip to content

Commit d1b3d3b

Browse files
leoelzbencodezen
andauthored
docs: improve phrasing for provide/inject in plugins.md (#3230)
* 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 * Update src/guide/reusability/plugins.md Co-authored-by: Ben Hong <ben@bencodezen.io> --------- Co-authored-by: Ben Hong <ben@bencodezen.io>
1 parent 9880455 commit d1b3d3b

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 give plugin users access to a function or attribute. 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)