# easy-admin-template **Repository Path**: weifengan/easy-admin-template ## Basic Information - **Project Name**: easy-admin-template - **Description**: 基于vue2+ElementUI构建的通用管理后台框架 - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-13 - **Last Updated**: 2025-04-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EasyAdminTemplate通用管理后台 ## 下载源码 Gitee地址:[https://gitee.com/weifengan/easy-admin-template.git](https://gitee.com/weifengan/easy-admin-template.git) ``` #安装相关依赖 npm install # 编译运行 npm run serve # 发布 npm run build ``` # 部署配置 ## nginx代理服务配置: ```php //用于支持vue router的history模式 location / { try_files $uri $uri/ /index.html; } //去掉api文件夹中codeigniter的index.php location /api{ try_files $uri $uri/ /api/index.php?$uri&$args; } ``` ## Apache代理服务配置: ``` RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] ```