Skip to content

GoUSTB/xiaoyoubang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

校友邦前端目录结构

项目文件放在 app 目录下:

.app
├── humans.txt
├── i              // 图片
├── index.html     // 入口 HTML
├── js             // JS
├── less           // Less
├── manifest.json
├── manifest.webapp
└── robots.txt

使用说明

首先确认已安装node环境

全局安装 gulp:

npm install gulp -g

安装开发依赖

  1. 克隆或下载本项目;

    git clone https://github.com/GoUSTB/xiaoyoubang.git

  2. 进入项目目录,执行 npm install

开发

npm start

生产环境构建

设置 Node 环境变量为 production 后,HTML 中引用的 CSS 和 JS 会替换为 minify 的版本。

npm run build

校友邦后端目录结构

(待完成)