Files
Mainpage/src/main.js

10 lines
324 B
JavaScript
Raw Normal View History

2025-03-01 21:30:49 +08:00
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
2025-03-02 22:42:09 +08:00
import ElementPlus from 'element-plus' // 引入 Element Plus
import 'element-plus/dist/index.css' // 引入 Element Plus 样式
2025-03-01 21:30:49 +08:00
const app = createApp(App)
2025-03-02 22:42:09 +08:00
app.use(router)
app.use(ElementPlus) // 使用 Element Plus
app.mount('#app')