From 801245e0fd6e30c395e49646f84d44efd8621593 Mon Sep 17 00:00:00 2001 From: Leo <3853621+leoelz@users.noreply.github.com> Date: Wed, 30 Apr 2025 16:21:24 -0300 Subject: [PATCH 1/2] 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 --- src/guide/reusability/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/reusability/plugins.md b/src/guide/reusability/plugins.md index a9d653eb92..c716448e42 100644 --- a/src/guide/reusability/plugins.md +++ b/src/guide/reusability/plugins.md @@ -97,7 +97,7 @@ Use global properties scarcely, since it can quickly become confusing if too man ### Provide / Inject with Plugins {#provide-inject-with-plugins} -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. +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. ```js{10} // plugins/i18n.js From 2baf5217ee0bdf35bb78eb432c64fb928a9a0ba9 Mon Sep 17 00:00:00 2001 From: Leo <3853621+leoelz@users.noreply.github.com> Date: Sun, 4 May 2025 16:51:26 -0300 Subject: [PATCH 2/2] Update src/guide/reusability/plugins.md Co-authored-by: Ben Hong --- src/guide/reusability/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/reusability/plugins.md b/src/guide/reusability/plugins.md index c716448e42..122862643a 100644 --- a/src/guide/reusability/plugins.md +++ b/src/guide/reusability/plugins.md @@ -97,7 +97,7 @@ Use global properties scarcely, since it can quickly become confusing if too man ### Provide / Inject with Plugins {#provide-inject-with-plugins} -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. +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. ```js{10} // plugins/i18n.js