Yeoman-scaffold JavaScript WEB Application

Source: Internet
Author: User

Yeoman-scaffold JavaScript Web application (Setup new JavaScript Web app quickly)

Depend on the 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. Main references

Yeoman-scaffold JavaScript Web application

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.