部署后 vue nuxt 开启 vue devtool


const VueObj = document.querySelector('#__nuxt').__vue__.__proto__.__proto__.constructor

//VueObj.config.devtools = true
window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit('init', VueObj)
posted @ 2023-07-27 13:56  7c89  阅读(93)  评论(0编辑  收藏  举报