You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import {createApp} from 'vue'
|
|
|
|
import './style.css'
|
|
|
|
import App from './App.vue'
|
|
|
|
import ElementPlus from 'element-plus'
|
|
|
|
import * as ELIcons from '@element-plus/icons-vue'
|
|
|
|
import router from './router/index.js'
|
|
|
|
import store from "@/store/index.js";
|
|
|
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
|
|
import "element-plus/theme-chalk/el-message-box.css";
|
|
|
|
import "element-plus/theme-chalk/el-loading.css";
|
|
|
|
import "element-plus/theme-chalk/el-message.css";
|
|
|
|
import "element-plus/theme-chalk/el-notification.css";
|
|
|
|
import 'element-plus/dist/index.css'
|
|
|
|
|
|
|
|
const app = createApp(App)
|
|
|
|
|
|
|
|
for (const name in ELIcons) {
|
|
|
|
app.component(name, ELIcons[name]);
|
|
|
|
}
|
|
|
|
|
|
|
|
app.use(router).use(store).use(ElementPlus, {locale: zhCn,}).mount('#app')
|