摘要: 1. wrap up a module using module.exports, name the file to a.jsvar fun1=function(){var stylus = require('stylus');this.hi=function(){ console.log('... 阅读全文
posted @ 2015-03-25 23:34 zyip 阅读(158) 评论(0) 推荐(0)
摘要: 1. install from npmsudo npm install stylus2. create a styl file named step1.stylborder-radius() { -webkit-border-radius: arguments -moz-border-radiu... 阅读全文
posted @ 2015-03-25 23:02 zyip 阅读(166) 评论(0) 推荐(0)