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 starteslintcheck and error prompt.- reset stylesheet to reduce browser inconsistencies.
- generate simulated data by
mock.js. prettieruniform program style.- mobile adaptation.
mobxencapsulation && usage.react-routerrouting configuration and permission control.axiosencapsulation 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-viewportplugin. -
Other relevant template recommend:
- MIT
- Copyright (c) 2022-present danielxiong