Skip to content

react antd multipage , React + React-Router + Redux + Webpack4 + Babel7 + ES6 + Mock;

Notifications You must be signed in to change notification settings

frontend-everyone/react-feeo

Repository files navigation

react multipage 简体中文

react multipage , React + React-Router + Redux + Webpack4 + Babel7 + ES6 + Mock;

version

  • react 16.8.3
  • react-dom 16.8.3
  • redux 4.0.1
  • react-redux 6.0.0
  • redux-thunk 2.3.0
  • react-router-dom 4.3.1
  • antd 3.13.5
  • webpack v4+
  • babel v7+

Usage

Install

npm i -g react-feeo-cli
react-feeo-cli init <you name>
cd <you name>
# Optional $ git init
npm i

# tips : ERR! husky
git init

dev

npm run dev
# open http://localhost:9001

build

# Third Party Dependency (Change) Packaging Execution
npm run dll

# production
npm run p

new page

New page in src/pages directory

example

src/pages/Demo/Index.jsx

npm run dev / npm run p

git commit warning

# package.json
"husky": {
    "hooks": {
      "pre-commit": "eslint src --ext .js,.jsx"
    }
  }
# Errors will fail to submit

About

react antd multipage , React + React-Router + Redux + Webpack4 + Babel7 + ES6 + Mock;

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published