网上有的教程都试了一遍,VUE 面板就是不跳出来
很郁闷,大家有类似的经历吗?
能亮,提示:
Vue.js is detected on this page. Devtools inspection is not available because it's in production mode or explicitly disabled by the author.
后来,我下了 chrome 和 firefox 也一样
1 liaozzzzzz 357 天前 via iPhone 这不提示的 devtool 被开发者关闭了么 |
2 runze 357 天前 |
![]() | 3 Rust2015 OP |
5 Ma4cus 357 天前 这东西不用也行吧,我从来不用。。 |
6 sunorg 357 天前 via Android 生产模式是没法激活的。源码设置 dev 模式 |
![]() | 7 WhateverYouLike 357 天前 生产环境下, 貌似是可以通过控制台改代码把插件点亮的。 |
8 hlin647668 357 天前 这不是告诉你了么,It's in production mode |
![]() | 9 Rust2015 OP |
![]() | 10 Rust2015 OP ![]() 首先下载: https://github.com/vuejs/devtools-v6 在 Tags 中下载 v6.5.0 ,我只是试了一下这个版本,别的估计也行 下载下来后,对项目进行 yarn ,然后 yarn build 打包成功后,找到 v6.5.0 的目录,找到 shell chrome 目录,加入,vue devtools 插件,就 OK 了 v6 与 v5 有什么区别,v6 面对的是 vue3 ,而 v5 面对的是 vue2 然后,在油猴中安装 @runze 中提到的方法,强制开启 然后,vue 面板就出现了 |