]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: note about new location for "stores" folder in Nuxt 4. (#3047) v3
authorBrian <64915763+Simlor@users.noreply.github.com>
Mon, 15 Sep 2025 12:15:08 +0000 (14:15 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Sep 2025 12:15:08 +0000 (14:15 +0200)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
packages/docs/ssr/nuxt.md

index a6d8013b46658a4f41106fcac9a04293cbbd17ac..d6316ffba5b7c245f9f94523d0bfe8533d2cb51b 100644 (file)
@@ -90,7 +90,7 @@ By default `@pinia/nuxt` exposes a few auto imports:
 - `storeToRefs()` when you need to extract individual refs from a store
 - `acceptHMRUpdate()` for [hot module replacement](../cookbook/hot-module-replacement.md)
 
-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:
+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:
 
 ```ts
 // nuxt.config.ts