react
这是本文档旧的修订版!
目录结构
React App
npx create-react-app my-app --template typescript
Craco
React Router
npm install react-router-dom --save
Axios
npm install axios --save
prettier
npm install --save-dev --save-exact prettier
- .prettierrc.json
{ "arrowParens": "avoid", "singleQuote": true, "semi": true }
MUI
npm install @mui/material @emotion/react @emotion/styled
react.1632970878.txt.gz · 最后更改: 2021/09/30 11:01 由 admin