https://github.com/navono/react-boilerplate
A react boilerplate.
https://github.com/navono/react-boilerplate
antd reactjs redux vscode webpack3
Last synced: 2 months ago
JSON representation
A react boilerplate.
- Host: GitHub
- URL: https://github.com/navono/react-boilerplate
- Owner: navono
- Created: 2017-08-21T01:04:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T07:40:22.000Z (about 8 years ago)
- Last Synced: 2025-12-26T17:37:16.221Z (6 months ago)
- Topics: antd, reactjs, redux, vscode, webpack3
- Language: JavaScript
- Homepage:
- Size: 624 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-boilerplate
A boilerplate project for `React`. Still continues Improvement.
## Note
`AntD` UI库使用离线iconfont时,使用的`less`版本应该在 __`v3.x`__ 以下,建议使用`v2.7.2`。否则在`webpack`打包时会出错。详细见[issue](https://github.com/less/less.js/issues/3113)
## Features
- [x] React
- [x] Webpack3
- [x] webpack-dev-server
- [x] react-hot-loader
- [x] redux
- [x] router
> Note: With `react-router` v4.0+ (`react-router` contained in `react-router-dom`), `react-router-redux` must be `v5` above.
Install with `yarn add react-router-redux@next`
- [x] test
> Coverage: yarn test -- --coverage
- [x] VS Code debug
__`Launch`__
Start with `F5`
__`Attach`__
Before start Chrome, need add `debug` option (launched in debug mode):
>chrome.exe --remote-debugging-port=9222
then open a new Tab, input `localhost:3000`, execute `Attach app` in VS Code Debug page.
- [x] Add `simple-react` branch, this branch without `Redux` and `Router`