2023-01-29 15:26:45 +08:00
|
|
|
import { createApp } from "vue";
|
|
|
|
|
import App from "./App.vue";
|
|
|
|
|
import router from "./router";
|
|
|
|
|
import Antd from "ant-design-vue";
|
2024-03-08 17:07:53 +08:00
|
|
|
import 'ant-design-vue/dist/reset.css';
|
2023-01-29 15:26:45 +08:00
|
|
|
import "./style/common.less";
|
2023-06-29 19:24:00 +00:00
|
|
|
|
2023-01-29 15:26:45 +08:00
|
|
|
import i18n from "./i18n";
|
|
|
|
|
import store from "./store";
|
|
|
|
|
import components from "./components";
|
|
|
|
|
import plugin from "./plugin/";
|
|
|
|
|
|
2023-06-29 19:24:00 +00:00
|
|
|
// 正式项目请删除mock,避免影响性能
|
2023-10-27 11:54:38 +08:00
|
|
|
//import "./mock";
|
2023-06-29 19:24:00 +00:00
|
|
|
|
2023-01-29 15:26:45 +08:00
|
|
|
// @ts-ignore
|
|
|
|
|
const app = createApp(App);
|
|
|
|
|
app.use(Antd);
|
|
|
|
|
app.use(router);
|
|
|
|
|
app.use(i18n);
|
|
|
|
|
app.use(store);
|
|
|
|
|
app.use(components);
|
|
|
|
|
app.use(plugin, { i18n });
|
|
|
|
|
app.mount("#app");
|