天天看点

使用Vue DevTools 插件报错的问题:Vue.js is detected on this page. Open DevTools and look for the Vue panel.1.出现的问题2.解决方法

1.出现的问题

使用Vue DevTools 插件报错的问题:Vue.js is detected on this page. Open DevTools and look for the Vue panel.1.出现的问题2.解决方法

这个问题,是因为没有在main.js中开启debug  mode!!我们在main.js中开启就ok啦。

2.解决方法

main.js

import Vue from 'vue'
Vue.config.devtools = true
           

重新启动项目,就可以成功调试啦!

使用Vue DevTools 插件报错的问题:Vue.js is detected on this page. Open DevTools and look for the Vue panel.1.出现的问题2.解决方法

继续阅读