A boilerplate for building webapp with React, ES6 and pack with webpack.
-
React.js and ES6 ECMAScript 6 support
-
SASS & LESS & native css support
-
Local CSS support
-
Support SPA & multi-pages apps
-
Build apps with webpack and HRM support
-
Support data mock and 3rd domain api proxy
$ git clone https://github.com/chemdemo/react-es6-seed.git
$ npm install -g webpack gulp
-
$ npm run install
- install 3rd modules -
$ npm start
- start the app in development mode at http://localhost:8088 -
$ npm build
- build with webpack -
$ npm release
- start the app in production mode to check the assets resource
It lanuch a local HTTP server to serve static files, so it's easy supporting mock data and proxy 3rd ajax api, see routes.js
.
The webpack-dev-server launched as middleware of the local server.
Copyright (c) 2015 chemdemo