/react-redux-antdesign-webpack-starter

react + redux + ant design + react-router 4 + webpack 4 starter

Primary LanguageJavaScriptMIT LicenseMIT

React + React-Router 4 + Redux + Ant Design + Webpack 4 with Hot Reload and redux-devtools-extension STARTER

license Build Statuscodecovcode style: prettier

⚠️ Ant Design still upgrading to ReactJS 16.3 new lifecycle so right now this app is not fully working as expected until this issue is fixed

A full Ant Design starter

You loved Bootstrap? Wait and see Ant Design. Do you understand now what I mean?

preview

Detailed Content

Front:

  • React JS (16.4.x+ - github 🔗)
  • ant design (3.8+ github 🔗)
  • with built-in theme customization (change vars in antd-theme-overrides.less to customize)
  • icon font are locally loaded
  • Redux (as your application grows managing state will be a serious concern, save pain with Redux)
  • React-Redux (Redux is not specific to ReactJS, you could easily use it with Angular2 for instance)
  • redux-devtools-extension (github 🔗)
  • React-Router-Redux (previously named react-simple-router)
  • react-router (4.x- github 🔗)
  • animate.css (github 🔗)
  • classnames (github 🔗)
  • react-motion (github 🔗)
  • Webpack 4.x (github 🔗)
  • babel 6+ (github 🔗)
  • axios (github 🔗 Why: simple, complete, isomorphic ...)
  • flow

Tool chain:

  • babel 6+
  • eslint
  • webpack 3
  • hot reload
  • loaders
    • js / jsx
    • postcss
    • less
    • sass
    • css
    • json
    • images formats
    • svg and fonts formats

tests:

  • Jest

Usage

Install

npm install

bundle dev mode (+ redux-devtools-extension)

npm run dev

dev : hot reload mode (+ redux-devtools-extension)

npm run start

tests

npm run test

bundle production mode

npm run prod

mini node-express server (for dev or prod bundles)

with server hot reload:

npm run serve-dev

without hot reload:

npm run serve-prod

Donate

Do you use & like react-redux-antdesign-webpack-starter but you don’t find a way to show some love? If yes, please consider donating to support this project. Otherwise, no worries, regardless of whether there is support or not, I will keep maintaining this project. Still, if you buy me a cup of coffee I would be more than happy though 😄

Support via PayPal

License

The MIT License (MIT)

Copyright (c) 2018 Erwan DATIN

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.