Step-by-step installation of Yeoman scaffolding tools

Source: Internet
Author: User


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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.