2023-01-29 07:26:45 +00:00
|
|
|
|
import { createApp } from "vue";
|
|
|
|
|
import App from "./App.vue";
|
|
|
|
|
import router from "./router";
|
|
|
|
|
import Antd from "ant-design-vue";
|
|
|
|
|
import "./style/common.less";
|
2023-06-29 19:24:00 +00:00
|
|
|
|
|
2023-01-29 07:26:45 +00: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 03:54:38 +00:00
|
|
|
|
//import "./mock";
|
2023-06-29 19:24:00 +00:00
|
|
|
|
|
2023-01-29 07:26:45 +00: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");
|