# mobile-react-template **Repository Path**: jh_shot/mobile-react-template ## Basic Information - **Project Name**: mobile-react-template - **Description**: 移动端 React 模板 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2024-06-01 - **Last Updated**: 2025-01-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Mobile React Template ## 简介 Mobile React Template 是一个开源的移动端模版。 ## 特性 - **技术栈**:使用 React/Vite/AntDesignMobile 等前端前沿技术开发 - **TypeScript**:应用程序级 JavaScript 的语言 - **特性**:支持使用 TSX 和 CSS Modules 编写组件 ## 准备 - [Node](http://nodejs.org/) 和 [Git](https://git-scm.com/) - [Vite](https://vitejs.dev/) - [React](https://zh-hans.react.dev/) - [Ant Design Mobile](https://ant-design-mobile.antgroup.com/zh) ## 安装使用 - 获取项目代码 ```bash git clone https://gitee.com/jh_shot/mobile-react-template.git ``` - 安装依赖 ```bash npm i ``` - 运行 ```bash npm run dev ``` - 打包 ```bash npm run build ``` ## 注意事项 - 项目开发时请锁定依赖版本 ## 待处理 - [ ] 打包时 lightningcss 不会处理字体文件,目前仍然使用 postcss 处理样式