Rust2015
V2EX  ›  Edge

检查面板上没有 vue

  •  
  •   Rust2015 · Oct 21, 2024 · 4038 views
    This topic created in 755 days ago, the information mentioned may be changed or developed.

    网上有的教程都试了一遍,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 也一样

    10 replies  •  2024-11-08 14:37:41 +08:00
    liaozzzzzz
    liaozzzzzz
    Oct 21, 2024 via iPhone
    1
    这不提示的 devtool 被开发者关闭了么
    Rust2015
    Rust2015
    OP
    Oct 21, 2024
    3
    @liaozzzzzz

    有这种可能
    Rust2015
    Rust2015
    OP
    Oct 21, 2024
    4
    @runze

    安装了这个油猴脚本,但是没用
    quijote
    quijote
    Oct 21, 2024
    5
    这东西不用也行吧,我从来不用。。
    sunorg
    sunorg
    Oct 21, 2024 via Android
    6
    生产模式是没法激活的。源码设置 dev 模式
    Jaufey
    Jaufey
    Oct 21, 2024
    7
    生产环境下, 貌似是可以通过控制台改代码把插件点亮的。
    hlin647668
    hlin647668
    Oct 21, 2024
    8
    这不是告诉你了么,It's in production mode
    Rust2015
    Rust2015
    OP
    Oct 21, 2024
    9
    成功了,上图

    https://imgur.com/v9nn8Y4

    要在 GitHub 上下载,这个版本结合了开发与生产版,而不是那种小版
    Rust2015
    Rust2015
    OP
    Nov 8, 2024❤️1
    10
    首先下载: 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 面板就出现了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   860 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 21:01 · PVG 05:01 · LAX 13:01 · JFK 16:01
    ♥ Do have faith in what you're doing.