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