From f42d181927755b9a1f4c694e9c21fe9889ae6ea9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alois=20Se=C4=8Dk=C3=A1r?= Date: Fri, 6 Jan 2023 14:58:46 +0100 Subject: [PATCH] docs: installation workaround npm (#1901) Co-authored-by: Eduardo San Martin Morote Close https://github.com/vuejs/pinia/issues/853 --- packages/docs/ssr/nuxt.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/docs/ssr/nuxt.md b/packages/docs/ssr/nuxt.md index 069e8731..8d7a6cfb 100644 --- a/packages/docs/ssr/nuxt.md +++ b/packages/docs/ssr/nuxt.md @@ -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 -- 2.47.3