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

转载于:https://blog.csdn.net/dujing_15620553271/article/details/105223954

1.出现的问题


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

2.解决方法:

找到你的项目文件代码文件下的main.js(source->main.js)

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

可能原本你的项目中就已经引入了Vue那么就不需要

import Vue from 'vue'

只需要第二句即可




posted @ 2021-08-31 09:43  rookiexwang  阅读(2120)  评论(0编辑  收藏  举报