mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
chore: 集成vben
This commit is contained in:
@@ -3,7 +3,8 @@ import App from "./App.vue";
|
||||
// import Antd from "ant-design-vue";
|
||||
import Antd from "./plugin/antdv-async/index";
|
||||
import "./style/common.less";
|
||||
import i18n from "./i18n";
|
||||
import { loadMessages } from "./i18n";
|
||||
import { i18n } from "/@/vben/locales";
|
||||
import components from "./components";
|
||||
import router from "./router";
|
||||
import plugin from "./plugin/";
|
||||
@@ -17,9 +18,9 @@ async function bootstrap() {
|
||||
const app = createApp(App);
|
||||
// app.use(Antd);
|
||||
app.use(Antd);
|
||||
await setupVben(app);
|
||||
await setupVben(app, { loadMessages });
|
||||
app.use(router);
|
||||
app.use(i18n);
|
||||
// app.use(i18n);
|
||||
// app.use(store);
|
||||
app.use(components);
|
||||
app.use(plugin, { i18n });
|
||||
|
||||
Reference in New Issue
Block a user