letterwind / gruntlivereload

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gruntlivereload

Grunt 練習

  1. npm init

  2. npm install grunt-cli

  3. npm install grunt

  4. npm install grunt-contrib-watch --save-dev 檔案有更動會跑

  5. npm install grunt-contrib-uglify --save-dev 加一個Task來試試看

  6. npm install grunt-contrib-connect --save-dev 加一個server

  7. 加入index.html , build/, src/hello.js

  8. grunt

About


Languages

Language:JavaScript 85.1%Language:HTML 14.9%