init:yarn
dev mode:yarn run dev:dev
build mode:yarn run build:dev
analy:yarn run build:analy
- WebPack5
- React
- Redux-ToolKit
- React-Router-Dom
- Ts
- Axios
- Sass [ 推荐 ]
- Less [ 不推荐 ]
- useWorker
- ArcoDesign 已经删除 it has delete
- 多线程Build
- CSS打包抽离
- CSS JS压缩
- 图片压缩
- CSS模块化
- 组件按需引入
- Proxy代理
- Webpack配置分离
- Axios请求&响应拦截
- 文件更改检测打印
-
Build
介绍:Webpack配置introduce:webpack config -
proxy
介绍:prosy本地代理introduce:crossDomain access config -
public
介绍:初始HTML文件以及icon图片introduce:i think you know it -
src
-
api
介绍:Axios请求存放目录introduce:http request -
assets
介绍:音视频图片资源存放目录introduce: mp3,mp4,avi,png,jpeg... -
Axios
介绍:Axios配置introduce: axios config -
components:通用组件目录
介绍:LazyWrapper.tsx - 组件懒加载introduce: currency component -
layout
介绍:可删除layout - 暂时配置不足introduce: if you don't use this component can delete it but don't forget delete use it's code -
pages
介绍:页面目录introduce: pages -
routers
介绍:路由目录introduce: router config -
store
介绍:redux全局状态管理introduce: redux global state manager -
utils
介绍:自制轮子introduce: some utils of yourself -
.browserslistrc
介绍:浏览器兼容introduce: browsers compatibility -
App.module.sass
-
App.tsx
-
global.d.ts
介绍:全局类型定义introduce: i think you know this -
Index.sass
-
index.tsx
-
-
.gitignore
介绍:git禁传配置introduce: i think you know this -
babel.config.js
介绍:babel兼容配置introduce: babel config -
postcss.config.js
介绍:postcss配置introduce: postcss config -
tsconfig.json
介绍:ts配置introduce: ts config