码迷,mamicode.com
首页 > 移动开发 > 详细

Yeoman - scaffold JavaScript Web Application

时间:2015-03-16 20:57:52      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:

Yeoman - scaffold JavaScript Web Application (setup new JavaScript web app quickly)

depend on two tools:
-Grunt, JavaScript task runner
-Bower, A package manager for web

step0, install Node.js and NPM
step1, install Grunt: # npm install -g grunt-cli
step2, install Bower: # npm install -g bower
step3, install Yeoman: # npm -g install yo

step4, install Yeoman generator for Marionette.js: # npm install -g generator-marionette
step5, install Mocha generator(Marionette generator required): # npm install -g generator-mocha-amd

step6, create Marionette Application:

  # mkdir webapptest
      # cd webapptest
      # yo marionette

step7, run application: # grunt

Reference:
1. http://yeoman.io/generators/ for more generator
2. build tool(Grunt/Gulp), package manager(Bower/npm)

3. 主要参考

Yeoman - scaffold JavaScript Web Application

标签:

原文地址:http://www.cnblogs.com/wangyinhui/p/4342541.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!