Based on Windows, node. JS's NPM

Source: Internet
Author: User

1. Download node. js all the way down

Under the Start Node folder, open cmd

?

2. Create a development directory mkdir reactqa && CD REACTQA

3. Initialize a NMP development environment? NPM Init

The default can be

4. Installing react, NPM install react--save

5, install Global Gulp, NPM install-g gulp? (No repeat installation required)

6, install the development of some plug-ins used

NPM Install--save-dev Gulp gulp-browserify gulp-concat gulp-react gulp-connect lodash reactify?

You need to wait a long, long time ...

After the installation is complete:

?

7, install the front-end timely response plug-in NPM install gulp gulp-livereload--save-dev

?

?

8, then install the global bower, download some front-end libraries, after the installation of global, other projects can be public, do not need to repeat the installation

NPM Install-g Bower

After installing bower, if you are Windows, you will also need to install Msysgit

?

Install Msysgit:

?

After the installation is complete, configure the environment variable path

?

?

?

9. Download Front End Library

Initialize a Bower.json file

?

Bower init???

?

Bower Install bootstrap--save

?

?

?

10. Compiling:

Gulp Serve

?

?

?

Based on Windows, node. JS's NPM

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.