/react_demo

Primary LanguageJavaScript

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

UI组件

1.使用Ant Design 和 Ant Design Mobile 按需加载引入

布局

1.rem布局。 2.使用post-css配合postcss-pxtorem插件进行px和rem转换。

路由

1.使用react-router路由进行跳转

请求

1.使用axios进行与后台的请求

redux

1.使用redux 2.使用react-redux