Minimal React + Redux starter kit for experiments.
It has bare minimum to start development:
- React
- Redux
- Webpack
- Babel and css loaders
Credits to: https://enkot.github.io/Minimal-React/ for the starting project.
Clone from repository:
$ git clone https://github.com/droidpl/miniplate-react-redux
Install dependencies:
$ npm installBuild files and start local server in watch mode:
$ npm run startThis will open the browser at http://localhost:8080/.
If you want to create a distributable file you can run:
npm run build
This will create a dist directory with the bundle.js and the the index.html for your react application.
To setup the debugger in intellij:
- Setup the npm run start command
- Setup a 'javascript debugger' task
-- In the configuration, setup in the root folder the following mapping:
webpack:///. - Run the start command
- Run the javascript debugger task with the debugger mode