# accesslog-ui **Repository Path**: clklog/accesslog-ui ## Basic Information - **Project Name**: accesslog-ui - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2023-11-08 - **Last Updated**: 2025-10-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 功能 ``` - 登录 / 注销 - 权限验证 - 页面权限 - 指令权限 - 权限配置 - 二步登录 - 多环境发布 - dev - sit - stage - prod - 全局功能 - 动态侧边栏(支持多级路由嵌套) - 快捷导航(标签页) - Svg Sprite 图标 - 自适应收缩侧边栏 - Excel - 导出excel - 前端可视化excel - 错误页面 - 401 - 404 - 組件 - 综合实例 - 错误日志 - 引导页 - ECharts 图表 ``` ## 开发 ```bash # 克隆项目 git clone https://github.com/clklog/accesslog-ui.git # 进入项目目录 cd accesslog-ui # 安装依赖 npm install # 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题 npm install --registry=https://registry.npm.taobao.org # 启动服务 npm run dev ``` ### npm run dev 失败, 需要建立一个 '.env.development'文件,配置代理地址。 ENV = 'development' VUE_APP_BASE_API = '/DEV-API' VUE_APP_BASE_API_PROXY = '代理地址' ## 发布 ```bash # 构建测试环境 npm run build:stage # 构建生产环境 npm run build:prod ``` ## 其它 ```bash # 预览发布环境效果 npm run preview # 预览发布环境效果 + 静态资源分析 npm run preview -- --report # 代码格式检查 npm run lint # 代码格式检查并自动修复 npm run lint -- --fix ## Online Demo [在线 Demo](https://demo.clklog.com/) ## Donate ```