暫無描述

feige996 e2eda79403 docs(fg-tabbar): 完善 tabbar 策略的注释说明 10 月之前
.github d86bfa719d ci: 将自动合并工作流中的基础分支从base改为main 10 月之前
.husky 0f9431cf1e chore(husky): 在pre-commit钩子中添加--allow-empty参数 11 月之前
.vscode a79e59cdf3 chore: 更新 lint 配置和忽略文件 10 月之前
env dcae738e69 feat: 添加登录页面URL配置及页面权限控制 11 月之前
patches c47564e51a build: 添加对@dcloudio/uni-h5的补丁支持 10 月之前
scripts 968a090876 refactor(vite): 将 updatePackageJson 插件从 scripts 移动到 vite-plugins 目录 10 月之前
src e2eda79403 docs(fg-tabbar): 完善 tabbar 策略的注释说明 10 月之前
vite-plugins c6d4a46968 fix(vite-plugins): 仅在生产环境构建时更新package.json 10 月之前
.commitlintrc.cjs 0fbe59fe92 build: 添加commitlint及相关配置 11 月之前
.editorconfig 47c8ac2b5d build(prettier): add .prettierrc.js 2 年之前
.gitignore 200bdd366d chore: 清理未types目录下的类型定义文件 11 月之前
.npmrc b5a74cf371 chore: 更新 .npmrc 中的注册表配置 11 月之前
.oxlintrc.json da79ac04e6 chore: 移除.eslintignore并将忽略规则移至.oxlintrc.json 10 月之前
.prettierignore 7a2e870641 chore: 在.prettierignore中添加node_modules目录 10 月之前
.prettierrc.cjs 305ac6dccd ci: 添加oxlint配置并更新prettier规则 10 月之前
LICENSE 1a65bd681f refactor: readme 2 年之前
README.md ac32d6a97b docs: 添加微信小程序运行命令到快速开始指南 11 月之前
favicon.ico c3ed31c84b feat: 引入 favicon.ico 2 年之前
index.html 12fd82778e fix: Command failed: git rev-parse --abbrev-ref HEAD 1 年之前
manifest.config.ts 6eccf0a294 feat: 添加 ES6 转 ES5 和压缩选项到配置 11 月之前
openapi-ts-request.config.ts 0949922ed6 feat: support generate vue-query hook 1 年之前
package.json 38328280c4 chore: 回退esbuild版本至0.20.2 解决ios模拟器报错 10 月之前
pages.config.ts 2a71d02ab8 refactor(tabbar): 将 tabbar 组件从 components 移动到 layouts 目录 10 月之前
pnpm-lock.yaml 407bc849ec Revert "chore: pnpm-lock.yaml" 10 月之前
pnpm-workspace.yaml c47564e51a build: 添加对@dcloudio/uni-h5的补丁支持 10 月之前
tsconfig.json fc062e6480 feat: 增加图片导入路径别名和路径提示,同步修改vscode中推荐安装的插件 11 月之前
uno.config.ts f8641457ad refactor(fg-tabbar): 更新tabbar策略并添加safelist配置 10 月之前
vite.config.ts 968a090876 refactor(vite): 将 updatePackageJson 插件从 scripts 移动到 vite-plugins 目录 10 月之前

README.md

unibest - 最好的 uniapp 开发框架

旧仓库 codercup 进不去了,star 也拿不回来,这里也展示一下那个地址的 star. [![GitHub Repo stars](https://img.shields.io/github/stars/codercup/unibest?style=flat&logo=github)](https://github.com/codercup/unibest) [![GitHub forks](https://img.shields.io/github/forks/codercup/unibest?style=flat&logo=github)](https://github.com/codercup/unibest)
[![GitHub Repo stars](https://img.shields.io/github/stars/feige996/unibest?style=flat&logo=github)](https://github.com/feige996/unibest) [![GitHub forks](https://img.shields.io/github/forks/feige996/unibest?style=flat&logo=github)](https://github.com/feige996/unibest) [![star](https://gitee.com/feige996/unibest/badge/star.svg?theme=dark)](https://gitee.com/feige996/unibest/stargazers) [![fork](https://gitee.com/feige996/unibest/badge/fork.svg?theme=dark)](https://gitee.com/feige996/unibest/members) ![node version](https://img.shields.io/badge/node-%3E%3D18-green) ![pnpm version](https://img.shields.io/badge/pnpm-%3E%3D7.30-green) ![GitHub package.json version (subfolder of monorepo)](https://img.shields.io/github/package-json/v/feige996/unibest) ![GitHub License](https://img.shields.io/github/license/feige996/unibest)

unibest —— 最好的 uniapp 开发模板,由 uniapp + Vue3 + Ts + Vite5 + UnoCss + wot-ui + z-paging 构成,使用了最新的前端技术栈,无需依靠 HBuilderX,通过命令行方式运行 web小程序App(编辑器推荐 VSCode,可选 webstorm)。

unibest 内置了 约定式路由layout布局请求封装请求拦截登录拦截UnoCSSi18n多语言 等基础功能,提供了 代码提示自动格式化统一配置代码片段 等辅助功能,让你编写 uniapp 拥有 best 体验 ( unibest 的由来)。

📖 文档地址(new) | 📱 DEMO 地址


注意旧的地址 codercup 我进不去了,使用新的 feige996。PR和 issue 也请使用新地址,否则无法合并。

平台兼容性

H5 IOS 安卓 微信小程序 字节小程序 快手小程序 支付宝小程序 钉钉小程序 百度小程序

注意每种 UI框架 支持的平台有所不同,详情请看各 UI框架 的官网,也可以看 unibest 文档。

⚙️ 环境

  • node>=18
  • pnpm>=7.30
  • Vue Official>=2.1.10
  • TypeScript>=5.0

📂 快速开始

执行 pnpm create unibest 创建项目 执行 pnpm i 安装依赖 执行 pnpm dev 运行 H5 执行 pnpm dev:mp 运行 微信小程序

📦 运行(支持热更新)

  • web平台: pnpm dev:h5, 然后打开 http://localhost:9000/
  • weixin平台:pnpm dev:mp-weixin 然后打开微信开发者工具,导入本地文件夹,选择本项目的dist/dev/mp-weixin 文件。
  • APP平台:pnpm dev:app, 然后打开 HBuilderX,导入刚刚生成的dist/dev/app 文件夹,选择运行到模拟器(开发时优先使用),或者运行的安卓/ios基座。

🔗 发布

  • web平台: pnpm build:h5,打包后的文件在 dist/build/h5,可以放到web服务器,如nginx运行。如果最终不是放在根目录,可以在 manifest.config.ts 文件的 h5.router.base 属性进行修改。
  • weixin平台:pnpm build:mp-weixin, 打包后的文件在 dist/build/mp-weixin,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。
  • APP平台:pnpm build:app, 然后打开 HBuilderX,导入刚刚生成的dist/build/app 文件夹,选择发行 - APP云打包。

📄 License

MIT

Copyright (c) 2025 菲鸽

捐赠

special sponsor appwrite special sponsor appwrite