Skip to content

Commit eece5c1

Browse files
Simlorposva
andauthored
docs: note about new location for "stores" folder in Nuxt 4. (#3047)
Co-authored-by: Eduardo San Martin Morote <[email protected]>
1 parent e1e9a7d commit eece5c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/docs/ssr/nuxt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ By default `@pinia/nuxt` exposes a few auto imports:
9090
- `storeToRefs()` when you need to extract individual refs from a store
9191
- `acceptHMRUpdate()` for [hot module replacement](../cookbook/hot-module-replacement.md)
9292

93-
It also automatically imports **all stores** defined within your `stores` folder. It doesn't lookup for nested stores though. You can customize this behavior by setting the `storesDirs` option:
93+
It also automatically imports **all stores** defined within your `stores` folder (`app/stores` in Nuxt 4). It doesn't lookup for nested stores though. You can customize this behavior by setting the `storesDirs` option:
9494

9595
```ts
9696
// nuxt.config.ts

0 commit comments

Comments
 (0)