perf: 同步精简版代码

This commit is contained in:
xiaoxian521
2022-03-03 23:30:08 +08:00
parent 4bb8647990
commit 51fd06c6a1
24 changed files with 703 additions and 157 deletions

9
types/global.d.ts vendored
View File

@@ -16,6 +16,15 @@ declare module "vue" {
}
declare global {
const __APP_INFO__: {
pkg: {
name: string;
version: string;
dependencies: Recordable<string>;
devDependencies: Recordable<string>;
};
lastBuildTime: string;
};
interface Window {
// Global vue app instance
__APP__: App<Element>;