AA周年庆后台前端
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.

19 lines
582 B

  1. import { createApp } from 'vue'
  2. import ElementPlus from 'element-plus'
  3. import 'element-plus/dist/index.css'
  4. import './style.css'
  5. import App from './App.vue'
  6. import router from './router'
  7. import { createPinia } from 'pinia'
  8. import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
  9. import axios from 'axios'
  10. // createApp(App).use(router).mount('#app')
  11. const app = createApp(App)
  12. const pinia = createPinia()
  13. window.axios = axios
  14. // axios.defaults.baseURL = 'http://47.92.148.30:3003/mock/3267'
  15. app.use(router)
  16. app.use(pinia)
  17. app.use(ElementPlus, {
  18. locale: zhCn,
  19. })
  20. app.mount('#app')