When using the Nuxt devtools with version 1.1.4 we cannot use the Vue devtools along. See logs below.
I digged a bit, and the code throwing the error seems to belong to @vue/devtools-api, but in version 6. This code is referenced nowhere in the version 7 of the Vue devtools
This leads me to think there is a mismatch in the version of the devtools, and that causes the crash.
In the dependencies, two packages rely on this dependency:
vue-router@4.3.0
pinia@2.1.7
I believe it is pinia causing it, as it is still working with @nuxt/devtoools@1.0.8, and not since 1.1.4 (or maybe a few patches earlier)
๐ ๏ธ To reproduce
Stackblitz Nuxt's starter template, with devtools enabled
๐ The bug
When using the Nuxt devtools with version 1.1.4 we cannot use the Vue devtools along. See logs below.
I digged a bit, and the code throwing the error seems to belong to
@vue/devtools-api
, but in version 6. This code is referenced nowhere in the version 7 of the Vue devtoolsThis leads me to think there is a mismatch in the version of the devtools, and that causes the crash.
In the dependencies, two packages rely on this dependency:
I believe it is pinia causing it, as it is still working with @nuxt/devtoools@1.0.8, and not since 1.1.4 (or maybe a few patches earlier)
๐ ๏ธ To reproduce
Stackblitz Nuxt's starter template, with devtools enabled
https://stackblitz.com/edit/nuxt-starter-dszg2e?file=package-lock.json,nuxt.config.ts
๐ Expected behavior
Vue devtools should work along Nuxt devtools
โน๏ธ Additional context
Darwin
v20.11.0
3.11.1
3.11.1
2.9.5
pnpm@8.10.2
-
ssr
,colorMode
,devtools
,modules
,experimental
,eslint
@nuxt/ui@2.15.0
,@vueuse/nuxt@10.9.0
,@pinia/nuxt@0.5.1
,@nuxt/eslint@0.3.0-beta.4
-