Upgrade to Pro — share decks privately, control downloads, hide ads and more …

網頁開發工具 草稿吧

Avatar for danny danny
June 05, 2014
95

網頁開發工具 草稿吧

Avatar for danny

danny

June 05, 2014

Transcript

  1. 網⾴頁開發的歷史 HTML + CGI + JAVASCRIT + Java Applet! ASP/JSP/PHP

    + Database + Flash! AJAX + XML + ASP.Net/PHP/JSP! HTML5 + CSS3 + WebSocket +javascript
  2. GRUNT How to yum install nodejs! npm install -g grunt-cli!

    在你的專案⽬目錄下npm install grunt --save-dev
  3. 編寫 gruntfile.js module.exports = function(grunt) {! grunt.initConfig({! watch: {! options:

    { livereload: true },! files: ['*/*.php', '*/*.html', '*/*.js', '*/*.css'],! }! });! grunt.loadNpmTasks('grunt-contrib-watch');! grunt.registerTask('default', ['watch']);! };