説明なし

feige996 e611621b86 docs: 删除czg相关文档和图片 11 ヶ月 前
.github 4912af0419 docs(issue_template): 完善 bug 报告模板中的问题描述 11 ヶ月 前
.vscode e4ee24004c ci(auto-merge): 更新工作流名称并注释掉仓库检出步骤 11 ヶ月 前
docs e611621b86 docs: 删除czg相关文档和图片 11 ヶ月 前
env fa40a7d27b fix(env/docs): 修正Vite和Vitepress的base路径配置 11 ヶ月 前
scripts ce1ee1ad97 chore(uniapp): 更新于移除 1 年間 前
src 6655d06569 Revert "style(about): 导入全局uni.scss样式文件" 11 ヶ月 前
vite-plugins abff1dac3a build: fix ts 1 年間 前
.editorconfig 47c8ac2b5d build(prettier): add .prettierrc.js 2 年 前
.gitignore b2bf1efef3 feat: 把 docs 仓库移动到本仓库 1 年間 前
.npmrc 4d60d69a2f build: add 淘宝源 registry 2 年 前
.prettierignore 1e74c8da02 fix: fix prettierignore 1 年間 前
.prettierrc.cjs 61ff5d1614 fix(prettier): 格式化后,标签>跑到下一行BUG 2 年 前
LICENSE 1a65bd681f refactor: readme 2 年 前
README.md 5442ea24ca Auto merge base into main 11 ヶ月 前
favicon.ico c3ed31c84b feat: 引入 favicon.ico 2 年 前
index.html 12fd82778e fix: Command failed: git rev-parse --abbrev-ref HEAD 1 年間 前
manifest.config.ts f2177da894 build: 处理一些console 1 年間 前
openapi-ts-request.config.ts 0949922ed6 feat: support generate vue-query hook 1 年間 前
package.json 9883fbe7f0 Merge branch 'base' 11 ヶ月 前
pages.config.ts 1baec3728f feat: 支持无tabbar 11 ヶ月 前
pnpm-lock.yaml 2d35b1686a chore: 移除 husky 依赖 11 ヶ月 前
tsconfig.json 6993ac6a43 chore 更新微信api依赖仓库 1 年間 前
uno.config.ts da6509abf6 fix: comment error 1 年間 前
vite.config.ts 44b9e6b878 Merge branch 'base' 11 ヶ月 前

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

📦 运行(支持热更新)

  • 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云打包。

🤔 如何贡献

非常欢迎您的加入!提一个 Issue 或者提交一个 Pull Request

Pull Request:

  • 1. Fork 代码到自己的项目下,不要直接在仓库下建分支
  • 2. 请选择 base 分支,进行 PR
  • 3. 提交 PR 前请 rebase,确保 commit 记录的整洁
  • 4. 注意 commit 信息规范,要以 type: 描述信息 的形式填写,注意 type 得是下面规范之中的一个
  • 5. 示例 commit 信息fix: 修复样式问题
  • 6. 可以使用项目中的 pnpm cz 进行 commit 提交
  • 7. 等待作者 review 通过后,即可合并

📄 License

MIT

Copyright (c) 2025 菲鸽

捐赠

special sponsor appwrite special sponsor appwrite