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.
18 lines
527 B
18 lines
527 B
import { createApp } from 'vue'
|
|
import ElementPlus from 'element-plus'
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
import 'element-plus/dist/index.css'
|
|
import Antd from 'ant-design-vue';
|
|
import 'ant-design-vue/dist/antd.css';
|
|
import App from './App.vue'
|
|
import axios from 'axios'
|
|
|
|
const app = createApp(App)
|
|
app.config.globalProperties.$http = axios
|
|
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(key, component)
|
|
}
|
|
app.use(ElementPlus).use(Antd)
|
|
app.mount('#app')
|