From d94be75970cc9d85a0901e632f04687c670231c2 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 3 Dec 2022 14:44:37 +0100 Subject: [PATCH] docs: plugins must be applied before creating stores Close #1841 --- packages/docs/core-concepts/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/core-concepts/plugins.md b/packages/docs/core-concepts/plugins.md index f8e46d3c..010fb16f 100644 --- a/packages/docs/core-concepts/plugins.md +++ b/packages/docs/core-concepts/plugins.md @@ -52,7 +52,7 @@ This function is then passed to `pinia` with `pinia.use()`: pinia.use(myPiniaPlugin) ``` -Plugins are only applied to stores **created after `pinia` is passed to the app**, otherwise they won't be applied. +Plugins are only applied to stores created **after the plugins themselves, and after `pinia` is passed to the app**, otherwise they won't be applied. ## Augmenting a Store -- 2.47.3