Yeoman - scaffold JavaScript Web Application
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. 主要参考
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。