The minimal dev environment to enable live-editing React components. This project comes with Redux and Semantic-UI.
npm install
npm start
open http://localhost:3000
Now edit src/App.js.
Your changes will appear without reloading the browser like in this video.
This boilerplate project includes React-friendly ESLint configuration.
npm run lint
You may want to change the host in server.js and webpack.config.js from localhost to 0.0.0.0 to allow access from same WiFi network. This is not enabled by default because it is reported to cause problems on Windows. This may also be useful if you're using a VM.
First create the app on heroku
Then add the heroku remote to you project :
heroku git:remote -a rrsuiBuild the bundle:
npm run buildAnd send:
git commit -am "deployment message"git push heroku masterSemantic-UI needs a compilation step with gulp. To simplify things, I precompiled it and included the minified files in the index.html. However, if you wish to recompile it by yourself (in the aim to change the current Font for example), you can go here : official doc
- React
- Webpack
- webpack-dev-server
- babel-loader
- react-hot-loader