Skip to content

Commit

Permalink
docs: installation workaround npm (#1901)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Close vuejs/pinia#853
  • Loading branch information
arthur-king-excalibur committed Jan 6, 2023
1 parent 3ba3ec6 commit 92bd9e8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/docs/ssr/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ yarn add pinia @pinia/nuxt
npm install pinia @pinia/nuxt
```

:::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`:

```js
"overrides": {
"vue": "latest"
}
```
:::

We supply a _module_ to handle everything for you, you only need to add it to `modules` in your `nuxt.config.js` file:

```js
Expand Down

0 comments on commit 92bd9e8

Please sign in to comment.