Giter VIP home page Giter VIP logo

gulp-project-template's Introduction

2016-06-22 新增拷贝文件夹功能,修复错误:没有压缩的js、css不能拷贝到dist;

2016-05-07 新增文件合并自动更改路径添加版本号;

#如何使用本项目?

1.项目使用gulp和compass,确保已安装node和ruby

$ gem install sass
$ gem install compass

2.全局安装gulp

$ npm install -g gulp

3.在gulp项目目录中再次安装

$ npm install --save-dev gulp

4.clone项目到本地。

$ git clone https://github.com/hxbo/gulp-project-template.git

5.进入项目根目录,安装所需插件。

$ npm install

6.在app目录下创建你自己的静态资源文件。

执行build命令会生成浏览器可识别的资源文件。

$ gulp build

执行server命令启动Http服务,预览开发。

$ gulp server

#本项目定制的命令 清理dist目录

$ gulp clean

Build静态资源文件

$ gulp build

启动Jasmine测试

$ gulp test

启动http服务预览开发

$ gulp server

gulp-project-template's People

Contributors

hxbo avatar

Watchers

 avatar  avatar  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.