Skip to content

technobia/react-babel-webpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-babel-webpack

1. Install required packages

-react, react-dom, redux, react-redux

npm install --save-dev react react-dom redux react-redux

-babel-core, babel-loader, babel-preset-es2015, babel-preset-react, babel-preset-stage-0,babel-plugin-transform-decorators-legacy,babel-plugin-transform-decorators-legacy

npm install --save-dev babel-core babel-loader babel-preset-es2015 babel-preset-react babel-preset-stage-0babel-plugin-transform-decorators-legacy babel-plugin-transform-decorators-legacy

-webpack, webpack-dev-server

npm install --save-dev webpack webpack-dev-server

-express,cors,body-parser to simulate mock server

npm install --save-dev express cors body-parser

-Some other utilities such as lodash, whatwg-fetch

npm install lodash

npm install whatwg-fetch

2. Start mock server by running

npm run-script server:run

You can stop it by running:

npm run-script server:kill

3. Now all ready, you can start front-end by running

npm run-script frontend:run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.2%
  • HTML 5.8%