mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-12 21:52:48 +00:00
27 lines
430 B
TypeScript
27 lines
430 B
TypeScript
import { createApp } from "vue";
|
|
import App from "./App.vue";
|
|
import Crud, { locale } from "./index";
|
|
|
|
import ElementPlus from "element-plus";
|
|
import "element-plus/dist/index.css";
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(ElementPlus)
|
|
.use(Crud, {
|
|
dict: {
|
|
sort: {
|
|
prop: "order",
|
|
order: "sort"
|
|
},
|
|
label: locale.en
|
|
},
|
|
style: {
|
|
// size: "default"
|
|
},
|
|
render: {
|
|
autoHeight: true
|
|
}
|
|
})
|
|
.mount("#app");
|