# fastdev **Repository Path**: igit.com/fastdev ## Basic Information - **Project Name**: fastdev - **Description**: 使用gulp快速搭建前后端分离开发环境 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-09-25 - **Last Updated**: 2021-03-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 使用gulp快速搭建前后端分离开发环境 首先 0、安装node,配置环境变量 1、安装所有需要的项目依赖 执行 npm install 2、执行 gulp 3、gulp相关插件 编译Sass (gulp-ruby-sass) 自动添加前缀 (gulp-autoprefixer) 缩小化(minify)CSS (gulp-minify-css) JSHint (gulp-jshint) 拼接 (gulp-concat) 丑化(Uglify) (gulp-uglify) 图片压缩 (gulp-imagemin) 即时重整(LiveReload) (gulp-livereload) 清理档案 (gulp-clean) 图片快取,只有更改过得图片会进行压缩 (gulp-cache) 更动通知 (gulp-notify) nginx 配置 server { listen 8888; server_name localhost; root /home/zpj/git/lagou-activity-manage-app ; error_page 404 /404.html; error_page 500 502 503 504 /50x.html; location / { index index.html index.htm; } }