fix(devtools): fix prod devtools detection + handle late devtools hook injection (#4653)

This commit is contained in:
Evan You
2021-09-22 09:07:08 -04:00
committed by GitHub
parent 64aa8e26ae
commit 2476eaad6e
5 changed files with 39 additions and 24 deletions

View File

@@ -2,4 +2,9 @@ import { createApp } from 'vue'
import App from './App.vue'
import '@vue/repl/style.css'
// @ts-expect-error Custom window property
window.VUE_DEVTOOLS_CONFIG = {
defaultSelectedAppId: 'id:repl'
}
createApp(App).mount('#app')