mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 23:57:22 +08:00
🎈 perf: 优化加载 升级vue3.5 electron32等多个包 添加v-loading指令
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user