肉牛项目-小程序端

Shan9312 609c8e0117 暂定当前内容,做pc端 后面不修改 2 ay önce
.vscode c47c47eed9 首页 3 ay önce
env 7818d63b58 修改样式 2 ay önce
screenshots 6d881eae34 去除husky 4 ay önce
scripts 6d881eae34 去除husky 4 ay önce
src 609c8e0117 暂定当前内容,做pc端 后面不修改 2 ay önce
.commitlintrc.cjs 6d881eae34 去除husky 4 ay önce
.editorconfig 6d881eae34 去除husky 4 ay önce
.eslintignore 6d881eae34 去除husky 4 ay önce
.eslintrc-auto-import.json 6d881eae34 去除husky 4 ay önce
.eslintrc.cjs 6d881eae34 去除husky 4 ay önce
.gitignore 6d881eae34 去除husky 4 ay önce
.npmrc 6d881eae34 去除husky 4 ay önce
.prettierignore 6d881eae34 去除husky 4 ay önce
.prettierrc.cjs 6d881eae34 去除husky 4 ay önce
.stylelintignore 6d881eae34 去除husky 4 ay önce
.stylelintrc.cjs 6d881eae34 去除husky 4 ay önce
LICENSE 6d881eae34 去除husky 4 ay önce
README.md a1ea8a0f6b 登录 4 ay önce
favicon.ico 6d881eae34 去除husky 4 ay önce
index.html 2af63e47c3 git status 3 ay önce
manifest.config.ts 2af63e47c3 git status 3 ay önce
package-lock.json 6d881eae34 去除husky 4 ay önce
package.json 6d881eae34 去除husky 4 ay önce
pages.config.ts 5a1bb2919a 发病接口 2 ay önce
pnpm-lock.yaml 6d881eae34 去除husky 4 ay önce
project.config.json 2af63e47c3 git status 3 ay önce
project.private.config.json 609c8e0117 暂定当前内容,做pc端 后面不修改 2 ay önce
tsconfig.json 6d881eae34 去除husky 4 ay önce
uno.config.ts 6d881eae34 去除husky 4 ay önce
vite.config.ts 6d881eae34 去除husky 4 ay önce

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 地址

⚙️ 环境

  • 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