Skip to content

Commit d94be75

Browse files
committed
docs: plugins must be applied before creating stores
Close #1841
1 parent 96a0228 commit d94be75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/core-concepts/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ This function is then passed to `pinia` with `pinia.use()`:
5252
pinia.use(myPiniaPlugin)
5353
```
5454

55-
Plugins are only applied to stores **created after `pinia` is passed to the app**, otherwise they won't be applied.
55+
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.
5656

5757
## Augmenting a Store
5858

0 commit comments

Comments
 (0)