🎈 perf: 优化加载 升级vue3.5 electron32等多个包 添加v-loading指令

This commit is contained in:
alger
2024-09-04 15:20:43 +08:00
parent a4eda61a86
commit b6a5461a1d
14 changed files with 268 additions and 86 deletions
+5
View File
@@ -10,8 +10,13 @@ import router from '@/router';
import store from '@/store';
import App from './App.vue';
import directives from './directive';
const app = createApp(App);
Object.keys(directives).forEach((key: string) => {
app.directive(key, directives[key]);
});
app.use(router);
app.use(store);
app.mount('#app');