vue devtools使用无效,Vue.js is detected on this page解决方法

vue3.x初始化模板中似乎不包含devtools插件支持,需要自己手动配置一下,代码很简单,直接上图

在main.js中添加
const app = createApp(App)
app.config.devtools = true  //开放此属性状态
app.mount('#app')

你可能感兴趣的:(vue devtools使用无效,Vue.js is detected on this page解决方法)