]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: note about nuxt module needing pinia
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 28 Nov 2024 11:12:26 +0000 (12:12 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 28 Nov 2024 11:12:26 +0000 (12:12 +0100)
packages/docs/ssr/nuxt.md
packages/nuxt/CHANGELOG.md

index 51d44b90f24c0ed0c0671f83f35728503a855c6d..416a80313e64193caac1757b2e8eaf8020baa385 100644 (file)
@@ -13,6 +13,8 @@ Using Pinia with [Nuxt](https://nuxt.com/) is easier since Nuxt takes care of a
 npx nuxi@latest module add pinia
 ```
 
+This will add both `@pinia/nuxt` and `pinia` to your project. **If you notice that `pinia` is not installed, please install it manually** with your package manager: `npm i pinia`.
+
 :::tip
 If you're using npm, you might encounter an _ERESOLVE unable to resolve dependency tree_ error. In that case, add the following to your `package.json`:
 
index 5b49487d487775509aa4272e1a2b68c6fba2bc5a..d0fa17164a1f02a8386d655b92444656cd5a36dd 100644 (file)
@@ -1,5 +1,15 @@
 ## [0.8.0](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.7.0...@pinia/nuxt@0.8.0) (2024-11-28)
 
+This release partially fixes a bug in production of:
+
+> vueDemi2.effectScope is not a function
+
+The remaining part in in [nypm](https://github.com/unjs/nypm/pull/165). In the meantime, you will have to manually add `pinia` with your favorite package manager:
+
+```sh
+pnpm i pinia
+```
+
 ### Bug Fixes
 
 - allow module to install pinia alongside ([#2846](https://github.com/vuejs/pinia/issues/2846)) ([3e8ed69](https://github.com/vuejs/pinia/commit/3e8ed69addc30954b887241faed8778048e5d20e))