chore: tweaks

pull/721/head
meteorlxy 3 years ago
parent 8d19b980c5
commit 6e44c002c6

@ -75,7 +75,7 @@ export function createApp() {
} }
// setup devtools in dev mode // setup devtools in dev mode
if (import.meta.env.DEV) { if (import.meta.env.DEV || __VUE_PROD_DEVTOOLS__) {
setupDevtools(app, router, data) setupDevtools(app, router, data)
} }

@ -1,6 +1,7 @@
declare const __VP_HASH_MAP__: Record<string, string> declare const __VP_HASH_MAP__: Record<string, string>
declare const __ALGOLIA__: boolean declare const __ALGOLIA__: boolean
declare const __CARBON__: boolean declare const __CARBON__: boolean
declare const __VUE_PROD_DEVTOOLS__: boolean
declare module '*.vue' { declare module '*.vue' {
import { ComponentOptions } from 'vue' import { ComponentOptions } from 'vue'

Loading…
Cancel
Save