1234567891011121314151617181920 |
- import './assets/main.scss'
- import { createApp } from 'vue'
- import { createPinia } from 'pinia'
- import ElementPlus from 'element-plus'
- import zhCn from 'element-plus/es/locale/lang/zh-cn' // 引入中文语言包
- import 'element-plus/dist/index.css'
- import 'leaflet/dist/leaflet.css';
- import App from './App.vue'
- import router from './router'
- const app = createApp(App)
- app.use(createPinia())
- app.use(router)
- app.use(ElementPlus, {
- locale: zhCn, // 设置Element Plus的语言为中文
- })
- app.mount('#app')
|