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
# clone
$ git clone git@github.com:Ewall1106/react-template.git
# install & run
$ yarn & yarn start
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...
-
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 thepostcss-px-to-viewport
plugin. -
Other relevant template recommend:
- MIT
- Copyright (c) 2022-present danielxiong