From: Brian <64915763+Simlor@users.noreply.github.com> Date: Mon, 15 Sep 2025 12:15:08 +0000 (+0200) Subject: docs: note about new location for "stores" folder in Nuxt 4. (#3047) X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;ds=sidebyside;p=thirdparty%2Fvuejs%2Fpinia.git docs: note about new location for "stores" folder in Nuxt 4. (#3047) Co-authored-by: Eduardo San Martin Morote --- diff --git a/packages/docs/ssr/nuxt.md b/packages/docs/ssr/nuxt.md index a6d8013b..d6316ffb 100644 --- a/packages/docs/ssr/nuxt.md +++ b/packages/docs/ssr/nuxt.md @@ -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