# Conflicts: # pnpm-lock.yaml # src/components/_base/navbar/index.vue # src/components/text-over-tips/index.vue # src/layouts/Basic.vue # src/layouts/Page.vue # src/main.ts # src/router/constants.ts # src/router/index.ts # src/router/typeings.d.ts # src/utils/tools.ts
36 lines
784 B
TypeScript
36 lines
784 B
TypeScript
/*
|
|
* @Author: RenXiaoDong
|
|
* @Date: 2025-06-24 16:29:10
|
|
*/
|
|
import App from './App.vue';
|
|
import router from './router';
|
|
import store from './stores';
|
|
import * as directives from '@/directives';
|
|
|
|
import NoData from '@/components/no-data/index.vue';
|
|
import SvgIcon from '@/components/svg-icon/index.vue';
|
|
|
|
import '@/api/index';
|
|
import '@arco-design/web-vue/dist/arco.css'; // Arco 默认样式
|
|
import './core';
|
|
|
|
import 'normalize.css';
|
|
import 'uno.css';
|
|
import 'virtual:svg-icons-register';
|
|
|
|
// import '@/styles/vars.css'; // 优先加载
|
|
|
|
const app = createApp(App);
|
|
|
|
app.component('NoData', NoData);
|
|
app.component('SvgIcon', SvgIcon);
|
|
|
|
app.use(store);
|
|
app.use(router);
|
|
|
|
Object.values(directives).forEach((directive) => {
|
|
app.use(directive);
|
|
}); // 注册指令
|
|
|
|
app.mount('#app');
|