摘要: Local Install:npm install -g traceurnpm install grunt-contrib-watchnpm install grunt-traceur-latestGruntFile:module.exports = function(grunt){ grun... 阅读全文
posted @ 2014-11-17 22:55 Zhentiw 阅读(383) 评论(0) 推荐(0)
摘要: 6.2Setting Up socket.io Server-SideSo far we've created an Express server. Now we want to start building a real-time Q&A moderation service and we've ... 阅读全文
posted @ 2014-11-17 22:08 Zhentiw 阅读(951) 评论(0) 推荐(0)
摘要: Grunt will clean up your build with the grunt-contrib-clean to make sure that no artifacts from previous builds are hanging around. Install: npm insta 阅读全文
posted @ 2014-11-17 18:28 Zhentiw 阅读(247) 评论(0) 推荐(0)
摘要: For production we want to use minified javascript to reduce the payload that is sent from the server. This can easily be accomplished with grunt-uglif... 阅读全文
posted @ 2014-11-17 18:12 Zhentiw 阅读(228) 评论(0) 推荐(0)
摘要: Combine serval javascript files together.For angular project, make sure you add angular.min.js first, then app.js (which contains main module) second,... 阅读全文
posted @ 2014-11-17 05:46 Zhentiw 阅读(271) 评论(0) 推荐(0)
摘要: With Grunt you can automate core tasks for your AngularJS project. In this lesson we will take a look at converting Stylus files to CSS, and add a wat... 阅读全文
posted @ 2014-11-17 05:28 Zhentiw 阅读(240) 评论(0) 推荐(0)