Coder Social home page Coder Social logo

grunt-livereload-demo's Introduction

简介

此demo参考https://github.com/yeoman/generator-angular, 使用 grunt, yeoman, bower等工具, 展示一个前端项目构建所需要的步骤, 工具和流程

包含的功能

搭建步骤

  • 安装Node.js
  • 克隆项目 git clone [email protected]:lyuehh/grunt-livereload-demo.git
  • 安装 grunt, bower npm install -g grunt-cli; npm install -g bower
  • 安装依赖 cd grunt-livereload-demo; npm install; bower install
  • 预览项目 grunt serve, 会自动打开浏览器
  • 修改下 app/index.html, 会看到浏览器自动刷新了
  • done~

其他命令

  • grunt test, 测试项目
  • grunt build, 构建项目, 会在当前目录下生成build文件夹, 其中包含了处理后的文件, 把这些文件部署到自己的服务器上即可

grunt-livereload-demo's People

Contributors

lyuehh avatar

Watchers

 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.