GithubHelp home page GithubHelp logo

gulp-workflow's Introduction

gulp项目工程构建

一、介绍

1.适用于个人项目的开发

二、功能包括:

#### 1.开发环境dev

  • 对css预处理语言less进行编译
  • 自动生成开发环境(小服务器),热更新(拯救f5)
  • 支持es6开发

2.生成打包

  • 对css预处理语言less进行编译
  • es6 转换 es5
  • js压缩,混淆
  • 图片压缩

三、Usage(用法)

1.直接拷贝:

1.复制这个项目到自己本地硬盘,在命令行执行:git clone https://github.com/Ry-yuan/gulp-workflow.git
2.进入项目文件夹gulp-workflow文件,在命令行执行(安装依赖):npm install
3.安装完后运行:npm run dev 浏览器弹出页面,即进入开发环境

2.通过ryuan-cli安装

1.直接运行npm run dev 进入开发环境

四、命令

1.npm run dev 进入开发环境
2.npm run build 生产打包压缩

gulp-workflow's People

Contributors

ry-yuan avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.