React.js + Router + webpack + babel
First, you need to install npm and node on your machine:
npm
node
Clone this repo into your local folder.
Then, run:
npm i
Run dev server powered by webpack-dev-server:
npm run dev
Access to project at
localhost:8081 or 127.0.0.1:8081.
If it doesn't work, try to change port 8080
to 8081
in file node_modules\webpack-dev-server\bin\webpack-dev-server.js
For production run:
npm deploy
For production in windows run:
webpack --progress -p -v --config webpack.production.config.js
without minification:
webpack --progress -v --config webpack.production.config.js
Modify the files under /client
directory.
See the folder /public