Ingen beskrivning

Burt e4cac03ea8 Merge branch 'base' into master 1 år sedan
.github 154597a114 Revert "Merge branch 'base'" 1 år sedan
.husky e9602040a5 build: husky + lint-staged + commitlint 2 år sedan
.vscode 31b32fa6fd build: eslint cache 1 år sedan
env 6cda455e06 build: 默认不用proxy 1 år sedan
screenshots 17d5e3e7e2 feat: 捐赠二维码 1 år sedan
scripts ce1ee1ad97 chore(uniapp): 更新于移除 1 år sedan
src cd8c0706f3 fix: 文字写错。路劲 --> 路径 1 år sedan
.commitlintrc.cjs 931c4a3bc6 Merge pull request #109 from handongccc/main 1 år sedan
.editorconfig 47c8ac2b5d build(prettier): add .prettierrc.js 2 år sedan
.eslintignore 3967084fda build: add uni_modules 并 加入ignore 2 år sedan
.eslintrc-auto-import.json 545e1e854f chore: json 2 år sedan
.eslintrc.cjs 5f4bc6e206 Merge pull request #95 from JinliangYan/fix-function-overloads 1 år sedan
.gitignore 31b32fa6fd build: eslint cache 1 år sedan
.npmrc 4d60d69a2f build: add 淘宝源 registry 2 år sedan
.prettierignore 58e630cf6d feat: 做测试,放开部分ignore 2 år sedan
.prettierrc.cjs 61ff5d1614 fix(prettier): 格式化后,标签>跑到下一行BUG 2 år sedan
.stylelintignore 3967084fda build: add uni_modules 并 加入ignore 2 år sedan
.stylelintrc.cjs 34ecd2c9a8 feat: 引入iconfont 2 år sedan
LICENSE 1a65bd681f refactor: readme 2 år sedan
README.md e46a76759b docs: readme 1 år sedan
favicon.ico c3ed31c84b feat: 引入 favicon.ico 2 år sedan
index.html 12fd82778e fix: Command failed: git rev-parse --abbrev-ref HEAD 1 år sedan
manifest.config.ts f2177da894 build: 处理一些console 1 år sedan
package.json 02010b1e0c fix: 更新 wot 的依赖版本 1 år sedan
pages.config.ts 534d2cb12f refactor: 使用独立about文件夹 1 år sedan
pnpm-lock.yaml 02010b1e0c fix: 更新 wot 的依赖版本 1 år sedan
tsconfig.json 71f22f24a4 feat: 兼容js类型文件 2 år sedan
uno.config.ts da6509abf6 fix: comment error 1 år sedan
vite.config.ts 12fd82778e fix: Command failed: git rev-parse --abbrev-ref HEAD 1 år sedan

README.md

unibest - 最好的 uniapp 开发框架

[![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) [![star](https://gitee.com/codercup/unibest/badge/star.svg?theme=dark)](https://gitee.com/codercup/unibest/stargazers) [![fork](https://gitee.com/codercup/unibest/badge/fork.svg?theme=dark)](https://gitee.com/codercup/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/codercup/unibest) ![GitHub License](https://img.shields.io/github/license/codercup/unibest)

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

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

📖 文档地址 | 📱 DEMO 地址


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

⚙️ 环境

  • node>=18
  • pnpm>=7.30

📂 快速开始

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

📄 License

MIT

Copyright (c) 2024 菲鸽

捐赠

special sponsor appwrite special sponsor appwrite