]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
docs: installation workaround npm (#1901)
authorAlois Sečkár <ellrohir@seznam.cz>
Fri, 6 Jan 2023 13:58:46 +0000 (14:58 +0100)
committerGitHub <noreply@github.com>
Fri, 6 Jan 2023 13:58:46 +0000 (14:58 +0100)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
Close https://github.com/vuejs/pinia/issues/853

packages/docs/ssr/nuxt.md

index 069e8731e9961eeded3b0f02fa4f8eb778346cfb..8d7a6cfb9eae7814c714194dbb53bd38d2320370 100644 (file)
@@ -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