A basic react starter kit
- Simple src/index.jsx and src/index.css (local module css).
- Webpack configuration for development (with hot reloading) and production (with minification).
- CSS module loading, so you can include your css by
import styles from './path/to.css';
. - Both js(x) and css hot loaded during development.
- Webpack Dashboard Plugin on dev server.
- Install the dependencies:
npm install
- Run development server:
npm start
- Or you can run development server with webpack-dashboard:
npm run dev
Open the web browser to http://localhost:8888/
npm run build
There is a .eslint.yaml config for eslint ready with React plugin. To use it, you need to install additional dependencies though:
npm install --save-dev eslint eslint-plugin-react
To do the actual linting, run:
npm run lint