使用Vue DevTools 插件报错的问题:Vue.js is detected on this page. Open DevTools and look for the Vue panel.

1.出现的问题


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

 

 

 

2.解决方法


main.js

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

 

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

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章