# taroBest **Repository Path**: joncv/taroBest ## Basic Information - **Project Name**: taroBest - **Description**: 2024年最好用的Taro开发模板 taroBest - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2025-07-14 - **Last Updated**: 2025-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

taroBest - 最好的 Taro 开发框架

[![star](https://gitee.com/thaaa123/taroBest/badge/star.svg?theme=dark)](https://gitee.com/thaaa123/taroBest) [![fork](https://gitee.com/thaaa123/taroBest/badge/fork.svg?theme=dark)](https://gitee.com/thaaa123/taroBest) ![node version](https://img.shields.io/badge/node-%3E%3D18-green) ![pnpm version](https://img.shields.io/badge/pnpm-%3E%3D7.30-green) [![](https://img.shields.io/badge/version-v1.0-brightgreen.svg)](https://gitee.com/thaaa123/taroBest)
`taroBest` —— 最好的 `Taro` 开发模板,由 `Taro` + `React` + `Ts` + `webpack5` + `tailwind` + `taroify-ui` + `zustand` + `alova` 构成,使用了最新的前端技术栈,通过命令行方式运行 `web`、`小程序` 和 `鸿蒙App`(编辑器推荐 `VSCode`)。 `taroBest` 内置了 `layout布局`、`请求封装`、`请求拦截`、`登录拦截` 等基础功能,提供了 `代码提示`、`统一配置` 等辅助功能,让你编写 `uniapp` 拥有 `best` 体验。 --- ## ⚙️ 环境 - node>=18 - pnpm>=7.30 ## 📂 快速开始 安装依赖 ``` pnpm i ``` 运行 `小程序` ``` pnpm dev:weapp ``` ## 📦 运行(支持热更新) - web平台: `pnpm dev:h5`, 然后打开 [http://10.1.131.163:10086/#/pages/index/index](http://10.1.131.163:10086/#/pages/index/index)。 - weixin平台:`pnpm dev:weapp` 然后打开微信开发者工具,导入本地文件夹,选择本项目的`dist/` 文件。 ## 🔗 发布 - web平台: `pnpm build:h5`,打包后的文件在 `dist/`,可以放到web服务器 - weixin平台:`pnpm build:weapp`, 打包后的文件在 `dist/`,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。 ## *** 注意 *** - 小程序平台上传报错的话 小程序开发工具-详情-本地设置 开启将js编译成es6