使用bower

  • .bowerrc
  • bower.json
  1. bower install --save weui
  2. bower install --save iscroll
  3. bower install --save fastclick
  4. bower install --save zepto(weui里有zepto,可以不装的)
  5. bower install --save layzr.js
  6. bower install --save swiper
  7. bower install --save animate.css
  8. bower install --save momentjs

layer.mobile只能自己下载

wget http://res.layui.com/download/layer.mobile-v1.7.zip