FEAT => 本次更新项目为:

This commit is contained in:
超级老白兔
2025-08-13 11:31:54 +08:00
parent 73407ceb8d
commit 6380b8752b
2 changed files with 32 additions and 32 deletions

View File

@@ -1,8 +1,8 @@
module.exports = { module.exports = {
plugins: { plugins: {
'postcss-pxtorem': { 'postcss-pxtorem': {
rootValue: 16, rootValue: 16,
propList: ['*'], propList: ['*'],
}, },
}, },
}; };

View File

@@ -1,26 +1,26 @@
## 使用技术栈 ## 使用技术栈
- React 18 - React 18
- TypeScript - TypeScript
- Vite新一代前端构建工具 - Vite新一代前端构建工具
- axios - axios
- sass (scss) - sass (scss)
- React Router v6 - React Router v6
- antd-mobile - antd-mobile
- antd已设置基础单位为 rem配合 postcss-pxtorem - antd已设置基础单位为 rem配合 postcss-pxtorem
- postcss-pxtorempx 转 rem移动端适配 - postcss-pxtorempx 转 rem移动端适配
- ESLint + Prettier代码规范与自动格式化 - ESLint + Prettier代码规范与自动格式化
- 路径别名 @ 指向 src 目录 - 路径别名 @ 指向 src 目录
## 关于兼容与工程化 ## 关于兼容与工程化
- 自动化脚本yarn lint、yarn dev 等) - 自动化脚本yarn lint、yarn dev 等)
- 移动端 rem 适配html 根字体 + pxtorem - 移动端 rem 适配html 根字体 + pxtorem
- iOS 浏览器滚动回弹兼容问题已通过全局样式处理 - iOS 浏览器滚动回弹兼容问题已通过全局样式处理
- 支持 VS Code 编辑器自动格式化(推荐配合 ESLint/Prettier 插件) - 支持 VS Code 编辑器自动格式化(推荐配合 ESLint/Prettier 插件)
## 目录结构简要 ## 目录结构简要
- src/ 业务源码pages、api、styles、App.tsx、main.tsx 等) - src/ 业务源码pages、api、styles、App.tsx、main.tsx 等)
- public/ 静态资源目录 - public/ 静态资源目录
- index.html 项目入口(根目录) - index.html 项目入口(根目录)
- vite.config.ts 构建与路径别名配置 - vite.config.ts 构建与路径别名配置
- tsconfig.json TypeScript 配置 - tsconfig.json TypeScript 配置
- .eslintrc.js 代码规范配置 - .eslintrc.js 代码规范配置