# Golfgeni后台前端 **Repository Path**: Canbee/adminh5-golfgeni ## Basic Information - **Project Name**: Golfgeni后台前端 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-11-02 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Golfgeni H5后台管理系统 ## 基本介绍 Golfgeni h5后台管理系统是基于vue-element-admin框架开发,模块主要包括:用户、游戏记录、积分赛、联赛、新闻、商城、目录、支付等 (注:域名配置文件:路径/config/dev.env.js, 设置BASE_API为后台API域名地址,模拟数据时MOCK_DATA设置为true) ## 技术栈 参考:[vue-element-admin](https://panjiachen.github.io/vue-element-admin-site/zh/) vue2+vue-router+webpack+axios ## 项目运行/打包 ``` bash # 开发环境拷贝配置 cp path/to/project/config/.dev.env.js path/to/project/config/dev.env.js # 安装依赖 npm install # 开发调试 npm run dev # 项目打包,会生成 `dist` 目录(nginx配置时会用到) npm run build ``` For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). ## nginx配置 ```nginx server { listen 80; root /path/to/project/dist; server_name admin.domain.com; index index.html; location / { add_header Cache-Control no-store; try_files $uri $uri/ /index.html?$args; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 1d; } location ~ .*\.(js|css)?$ { expires 12h; } } ```