Skip to content

Commit

Permalink
docs: note about nuxt module needing pinia
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Nov 28, 2024
1 parent 3269742 commit 64fbd46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/docs/ssr/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down
10 changes: 10 additions & 0 deletions packages/nuxt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
## [0.8.0](https://github.com/vuejs/pinia/compare/@pinia/[email protected]...@pinia/[email protected]) (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))
Expand Down

0 comments on commit 64fbd46

Please sign in to comment.