Skip to content

Commit 64fbd46

Browse files
committed
docs: note about nuxt module needing pinia
1 parent 3269742 commit 64fbd46

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages/docs/ssr/nuxt.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Using Pinia with [Nuxt](https://nuxt.com/) is easier since Nuxt takes care of a
1313
npx nuxi@latest module add pinia
1414
```
1515

16+
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`.
17+
1618
:::tip
1719
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`:
1820

packages/nuxt/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
## [0.8.0](https://github.com/vuejs/pinia/compare/@pinia/nuxt@0.7.0...@pinia/nuxt@0.8.0) (2024-11-28)
22

3+
This release partially fixes a bug in production of:
4+
5+
> vueDemi2.effectScope is not a function
6+
7+
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:
8+
9+
```sh
10+
pnpm i pinia
11+
```
12+
313
### Bug Fixes
414

515
- allow module to install pinia alongside ([#2846](https://github.com/vuejs/pinia/issues/2846)) ([3e8ed69](https://github.com/vuejs/pinia/commit/3e8ed69addc30954b887241faed8778048e5d20e))

0 commit comments

Comments
 (0)