fix: ensure that the correct components are dynamically imported

This commit is contained in:
Vben
2021-03-01 23:01:37 +08:00
parent 3b8ca420c7
commit b476e1c84c
6 changed files with 32 additions and 5 deletions

1
types/window.d.ts vendored
View File

@@ -1,6 +1,7 @@
import type { App } from 'vue';
declare global {
declare const __DYNAMIC_IMPORT__: boolean;
declare interface Window {
// Global vue app instance
__APP__: App<Element>;