Front-end boilerplate for working with react, react-router, postcss, cssnext and webpack hot reloading
- Clone this repo with
git clone https://github.com/estkin/boilerplate.git
- Open directory
- Run
npm install
- Make your own package.json (optional)
-
- Remove existing git directory with
rm -rf .git
- Remove existing git directory with
- Make your own .git with
git init
Dev server is running with hot reloading and it should really not be production server!
- Run
npm start
command - Open browser at http://localhost:3000/
- Run
npm run build
command - Your compiled app file is located at dist folder
package_production.json is included for that, just delete old package.json and edit it
Or just create new one with npm init
Feel free to open issue or post pull request
All contributions are appreciated!
MIT License - Created by Estkin