vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.63k stars 4.15k forks source link

Vue.js is not detected with vue@3.0.0-rc.4 #1244

Closed way2ex closed 3 years ago

way2ex commented 4 years ago

Be patient.

FYI: @Akryum is working on this. Please wait for the next release. —— From Evan

Version

6.0.0-beta.1

Browser and OS info

版本 84.0.4147.89/ MacOS10.14.3

Steps to reproduce

What is expected?

Vue can be detected

What is actually happening?

Vue.js is not detected


I don't know it's a question of vue-devtools or vue-next. Could you point what should i do to use vue-devtools . Is something wrong in my project ?

LinusBorg commented 3 years ago

Devtools work fine for my Vite projects without any workarounds:

Bildschirmfoto 2021-03-21 um 12 09 45
nicholasscottfish commented 3 years ago

For anyone still having this issue on Vue 3 projects:

When switching back to Vue 2 projects:

Note: You may need to restart Chrome for the changes to take effect

germsb commented 3 years ago

Devtools work fine for my Vite projects without any workarounds:

Bildschirmfoto 2021-03-21 um 12 09 45

The vue tab appears fine but it's the only thing that works. Click on image to see video.

Imgur

lloydjatkinson commented 3 years ago

This also does not work for me. I have both versions of the Vue dev tools installed but no tab in F12. image

germsb commented 3 years ago

Devtools work fine for my Vite projects without any workarounds:

Bildschirmfoto 2021-03-21 um 12 09 45

The vue tab appears fine but it's the only thing that works. Click on image to see video.

Imgur

Finally, I solved the problem by uninstalling chrome and deleting all the folders and files it leaves behind. After reinstallation, the problem came back when I logged in to synchronize data from my Google account. I had to turn off extension sync and some more stuff before everything was back to normal

k0d3d commented 3 years ago

If using Vue 3, you need the new version of the extension that is currently still in beta https://chrome.google.com/webstore/detail/vuejs-devtools/ljjemllljcmogpfapbkkighbhhppjdbg?hl=en

nolimitdev commented 2 years ago

New extension https://chrome.google.com/webstore/detail/vuejs-devtools/ljjemllljcmogpfapbkkighbhhppjdbg?hl=en seems to support also Vue 2 although website https://v3.vuejs.org/guide/migration/introduction.html#devtools-extension says that only Vue 3 is supported. The same with Router support (Vuex support not tested).

The new version is currently in beta and only supports Vue 3 (for now). Vuex and Router integration is also work in progress.

WhyNotHugo commented 2 years ago

The latest version of the addon still won't pick up Vue3 project. The latest version is from January 2021, so it seems it's still not been pushed to AMO?

Akryum commented 2 years ago

Unfortunately Mozilla doesn't allow uploading beta versions of addons on AMO.

WhyNotHugo commented 2 years ago

Oh, vue3 support is not yet stable?

LinusBorg commented 2 years ago

It basically is, we just haven't done the switch yet, which we will be doing alongside the rest shortly:

https://blog.vuejs.org/posts/vue-3-as-the-new-default.html

WhyNotHugo commented 2 years ago

Ah, thanks! I'd missed that there was a coordinated switch date. Looking forward to it.

hussein12334 commented 2 years ago

vue.js devtools just stopped working, no clue why just doesnt want to detect anything

tomexsansdev commented 2 years ago

I Know this is Closed. In Case someone needs this to save you a lot of hair pulling. When Using VueJS3 + Vite

Using the Version 6.1.4 of the FireFox DevTools Extension

Package.json

...
 "vue": "^3.2.31",
 "vue-chartjs": "^4.0.6",
 "vue-router": "^4.0.12",
  "@vitejs/plugin-vue": "^2.2.2",
  "@vitejs/plugin-vue-jsx": "^1.3.7",
  "@vue/eslint-config-prettier": "^7.0.0",
  "@vue/test-utils": "^2.0.0-rc.18"
...

You need to add it to the it to the Vite config

Vite.config.js

export default defineConfig({
  __VUE_PROD_DEVTOOLS__ : process.env.NODE_ENV === 'development'
})