How to enable devtools in vue 3 with typescipt in development mode

Stefaan Vandevelde picture Stefaan Vandevelde · Aug 28, 2020 · Viewed 10.4k times · Source

I'm developing a new app in vue 3 with typescript. I have the Vue Devtools installed in Chrome, but it refuses to recognize the app as a Vue app stating Vue.js not detected. The help I find on the internet is to add Vue.config.devtools = true; to main.js. However Vue is not available in main.ts I also find instructions to adapt the webpack configuration, but there's no webpack in the project (that was set up by vue-cli.

Answer

Sinosaurus picture Sinosaurus · Oct 12, 2020

Download from here or use browser install:

vue devtools version is v6.0.0 beta