Yeoman includes three parts of yo (scaffolding tool), Grunt (build tool), Bower (Package Manager).
Prerequisites: Install Nodejs, Git Bash tool
Configure Package.json files before installing Yeoman
First step: Install the Yeoman command
NPM Install-g yo
error, if not error can enter the second step: NPM err! Registry Error parsing jsons
you can try the CNPM loading address:
npm config set registry http:
//registry.cnpmjs.org
after installation is complete
Step two: Install a generator WebApp
NPM Install Yeoman/generator-webapp
第三步:安装一个generator的mocha
NPM Install Yeoman/generator-mocha
Fourth Step: Install
Yo WebApp
All the way to the carriage return ...
Fifth step: After the installation is complete
Grunt serve
after execution, the following page pops up to indicate that the installation and operation succeeded
Step-by-step installation of Yeoman scaffolding tools