Vue.js is detected on this page解决方法
最近在学习Vue,所以打算安装一个插件Vue.js devtools
5.3.3。下载完成后,发现用不了,出现了*Vue.js is detected on this page.
Devtools inspection is not available because it’s in production mode or explicitly disabled by the author.*这个问题。

解决问题后:
Vue.js is detected on this page.
Open DevTools and look for the Vue panel.

方法:
1、引入vue.min.js是不行的,引入vue.js才能使用vue-devtools。
2、在chrome的扩展程序页面,需要勾选vue-devtools的“允许访问文件地址”项。
3、如果你是在chrome商店里安装的vue-devtools,那么需要到这个扩展的安装路径下找到manifest.json文件,把其中的"persistent": false,需改为:true。
4.在你的入口JS文件里加上一行Vue.config.devtools = true

网上找了很久的资料,发现是下面这个解决了我的问题:
https://segmentfault.com/q/1010000008482156
————————————————
版权声明:本文为CSDN博主「Chasing stars」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_43520670/article/details/104716644

相关文章:

  • 2021-06-16
  • 2021-11-13
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2023-02-01
猜你喜欢
  • 2021-11-25
  • 2021-07-01
  • 2021-07-19
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案