Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Repository files navigation

awesome-react

Front-end with React@^16.13.0

GitHub package.json version Coverage Status CircleCI

Recommend you use cli to create project create-awesome-react

Installation And Usage

git clone git@github.com:TaylorPzreal/awesome-react.git

cd awesome-react
yarn install

yarn start # start a dev server
yarn start-browser # start a dev server and open default browser
yarn build # build for production
yarn build-analyse # build and generate a stats.json
yarn dll # generate DllPlugin
yarn test # run test
yarn lint # run lint jsx
yarn format # format code: .jsx?, .md, .s?css
yarn server # test build folder, here is dist folder.

You could config vim as default editor for git commit, just do:

git config --global core.editor "vim"

Features

  • npm init & gitignore
  • File structure
  • commitlint
  • eslint
  • format(prettier)
  • webpack
  • Test
  • Router
  • Common http request and interceptor
  • webpack dll
  • precommit format

Code styles

Problems

More info

MIT License

Copyright (c) 2017-2020 TaylorPzreal

Morty Proxy This is a proxified and sanitized view of the page, visit original site.