mirror of
https://github.com/certd/certd.git
synced 2026-05-16 13:17:29 +08:00
24 lines
556 B
TypeScript
24 lines
556 B
TypeScript
|
|
import { createApp } from "vue";
|
||
|
|
import App from "./App.vue";
|
||
|
|
import router from "./router";
|
||
|
|
import Antd from "ant-design-vue";
|
||
|
|
import "ant-design-vue/dist/antd.less";
|
||
|
|
// import "virtual:windi.css";
|
||
|
|
import "./style/common.less";
|
||
|
|
import "./mock";
|
||
|
|
import i18n from "./i18n";
|
||
|
|
import store from "./store";
|
||
|
|
import components from "./components";
|
||
|
|
import plugin from "./plugin/";
|
||
|
|
|
||
|
|
// @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");
|