feat(web): 集成 Element Plus 组件库
- 在项目中添加 Element Plus 依赖 - 在 main.js 中注册 Element Plus - 移除 App.vue 中的多余代码 - 更新 App.vue 模板,使用 RouterView
This commit is contained in:
		| @@ -4,8 +4,12 @@ import { createApp } from 'vue' | ||||
| import App from './App.vue' | ||||
| import router from './router' | ||||
|  | ||||
| import ElementPlus from 'element-plus' | ||||
| import 'element-plus/dist/index.css' | ||||
|  | ||||
| const app = createApp(App) | ||||
|  | ||||
| app.use(router) | ||||
| app.use(ElementPlus) | ||||
|  | ||||
| app.mount('#app') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user