From: Eduardo San Martin Morote Date: Sat, 3 Dec 2022 13:44:37 +0000 (+0100) Subject: docs: plugins must be applied before creating stores X-Git-Tag: pinia@2.0.28~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d94be75970cc9d85a0901e632f04687c670231c2;p=thirdparty%2Fvuejs%2Fpinia.git docs: plugins must be applied before creating stores Close #1841 --- 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