- 添加Element Plus图标库依赖 - 重构路由结构,实现布局组件和嵌套路由 - 实现登录页面动态角色动画效果 - 开发主布局框架,包含侧边栏和面包屑导航 - 新增用户管理、系统设置和首页功能模块 - 移除旧版样式和示例组件 - 优化全局样式和响应式设计
13 lines
297 B
TypeScript
13 lines
297 B
TypeScript
import { createApp } from 'vue'
|
|
import ElementPlus from 'element-plus'
|
|
import 'element-plus/dist/index.css'
|
|
import App from './App.vue'
|
|
import { pinia } from '@/stores'
|
|
import router from '@/router'
|
|
|
|
const app = createApp(App)
|
|
app.use(pinia)
|
|
app.use(router)
|
|
app.use(ElementPlus)
|
|
app.mount('#app')
|