/react-template

reac basic template

Primary LanguageTypeScriptMIT LicenseMIT

REACT-TEMPLATE

react license

English | 简体中文

React-Template provides the basic template required for h5 page development, and including some common solutions and extended functions on the basis of the official templates.

Build components: https://bamboo-material.vercel.app

More info: https://bamboo-docs.vercel.app

USAGE

# clone
$ git clone git@github.com:Ewall1106/react-template.git
# install & run
$ yarn & yarn start

FEATURES

  • eslint check and error prompt.
  • reset stylesheet to reduce browser inconsistencies.
  • generate simulated data by mock.js.
  • prettier uniform program style.
  • mobile adaptation.
  • mobx encapsulation && usage.
  • react-router routing configuration and permission control.
  • axios encapsulation and request.
  • and more...

MEMO

  1. If you want to use this project as the basic template on PC, then you only need to remove the content related to the mobile adaptation, that is, the configuration related to the postcss-px-to-viewport plugin.

  2. Other relevant template recommend:

LICENSE

  • MIT
  • Copyright (c) 2022-present danielxiong