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.
20 lines
582 B
20 lines
582 B
import { createApp } from 'vue'
|
|
import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
import './style.css'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
import { createPinia } from 'pinia'
|
|
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
import axios from 'axios'
|
|
// createApp(App).use(router).mount('#app')
|
|
const app = createApp(App)
|
|
const pinia = createPinia()
|
|
window.axios = axios
|
|
// axios.defaults.baseURL = 'http://47.92.148.30:3003/mock/3267'
|
|
app.use(router)
|
|
app.use(pinia)
|
|
app.use(ElementPlus, {
|
|
locale: zhCn,
|
|
})
|
|
app.mount('#app')
|