从0到1搭建react脚手架
- yarn 安装依赖
- yarn start 启动本地开发环境
- yarn dev 开发环境打包
- yarn build 生产环境打包
webpack5.x
✅eslint
✅prettier
✅husky
├── build
│ ├── webpack.config.js
│ ├── webpack.dev.js
│ └── webpack.prod.js
├── public
│ └── index.html
├── src
│ ├── App.jsx
│ ├── APP.less
│ ├── index.js
│ └── pages
│ ├── Demo
│ └── index.jsx
├── README.md
├── package.json
└── yarn.lock