From 64fbd46344ea01cc6e17ef9afed59351ff733cad Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 28 Nov 2024 12:12:26 +0100 Subject: [PATCH] docs: note about nuxt module needing pinia --- packages/docs/ssr/nuxt.md | 2 ++ packages/nuxt/CHANGELOG.md | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/packages/docs/ssr/nuxt.md b/packages/docs/ssr/nuxt.md index 51d44b90f2..416a80313e 100644 --- a/packages/docs/ssr/nuxt.md +++ b/packages/docs/ssr/nuxt.md @@ -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`: diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index 5b49487d48..d0fa17164a 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -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))