Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 829
Stefaan Vandevelde Avatar asked Nov 29 '22 07:11

Stefaan Vandevelde


1 Answers

Download from here or use browser install:

vue devtools version is v6.0.0 beta
like image 183
Sinosaurus Avatar answered Dec 10 '22 13:12

Sinosaurus