- 新增 hzhub-portal-employee 员工门户前端项目(基于 Vue3 + Element Plus) - 后端登录接口增加返回 nickName 字段 - 移除 KnowledgeInfoController 的 @SaCheckPermission 注解 - 删除 hzhub-portal-company 旧门户项目 - 更新项目文档和架构说明 - 添加后台运行管理脚本(start-all.sh / status-all.sh / stop-all.sh) - 更新 docker-compose 配置 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
27 lines
724 B
TypeScript
27 lines
724 B
TypeScript
// 引入ElementPlus所有图标
|
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
|
|
import { ElMessage } from 'element-plus';
|
|
import { createApp } from 'vue';
|
|
import ElementPlusX from 'vue-element-plus-x';
|
|
import App from './App.vue';
|
|
import router from './routers';
|
|
import store from './stores';
|
|
import './styles/index.scss';
|
|
import 'virtual:uno.css';
|
|
import 'element-plus/dist/index.css';
|
|
// SVG插件配置
|
|
import 'virtual:svg-icons-register';
|
|
|
|
const app = createApp(App);
|
|
|
|
app.use(router);
|
|
app.use(ElMessage);
|
|
app.use(ElementPlusX);
|
|
// 注册ElementPlus所有图标
|
|
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
|
app.component(key, component);
|
|
}
|
|
app.use(store);
|
|
|
|
app.mount('#app');
|