mirror of
https://gitee.com/lyt-top/vue-next-admin
synced 2026-06-07 02:12:14 +08:00
21 lines
525 B
TypeScript
21 lines
525 B
TypeScript
import { createApp } from 'vue';
|
|
import App from './App.vue';
|
|
import router from './router';
|
|
import { store, key } from './store';
|
|
import { directive } from '/@/utils/directive';
|
|
import other from '/@/utils/other';
|
|
|
|
import ElementPlus from 'element-plus';
|
|
import 'element-plus/dist/index.css';
|
|
import '/@/theme/index.scss';
|
|
import mitt from 'mitt';
|
|
|
|
const app = createApp(App);
|
|
|
|
directive(app);
|
|
other.elSvg(app);
|
|
|
|
app.use(router).use(store, key).use(ElementPlus).mount('#app');
|
|
|
|
app.config.globalProperties.mittBus = mitt();
|