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