2024-01-23 19:47:31 +08:00
|
|
|
|
<p align="center">
|
|
|
|
|
<a href="https://github.com/codercup/unibest">
|
2024-01-31 12:34:31 +08:00
|
|
|
|
<img width="160" src="./src/static/logo.svg">
|
2024-01-23 19:47:31 +08:00
|
|
|
|
</a>
|
|
|
|
|
</p>
|
2024-01-20 14:45:33 +08:00
|
|
|
|
|
2024-01-23 19:47:31 +08:00
|
|
|
|
<h1 align="center">
|
2024-02-25 15:41:27 +08:00
|
|
|
|
<a href="https://github.com/codercup/unibest" target="_blank">unibest - best uniapp 开发模板</a>
|
2024-01-23 19:47:31 +08:00
|
|
|
|
</h1>
|
2024-01-22 14:21:17 +08:00
|
|
|
|
|
2024-01-23 19:47:31 +08:00
|
|
|
|
<div align="center">
|
2024-01-23 10:42:55 +08:00
|
|
|
|
|
2024-01-23 16:12:07 +08:00
|
|
|
|
[](https://github.com/codercup/unibest)
|
|
|
|
|
[](https://gitee.com/codercup/unibest/stargazers)
|
2024-02-24 17:39:50 +08:00
|
|
|
|
[](https://github.com/codercup/unibest)
|
2024-01-24 19:29:52 +08:00
|
|
|
|
[](https://gitee.com/codercup/unibest/members)
|
2024-03-01 09:55:22 +08:00
|
|
|
|

|
2024-01-24 19:29:52 +08:00
|
|
|
|

|
|
|
|
|

|
2024-02-23 08:42:51 +08:00
|
|
|
|

|
|
|
|
|
|
2024-01-23 19:47:31 +08:00
|
|
|
|
</div>
|
2024-01-23 10:42:55 +08:00
|
|
|
|
|
2024-03-03 19:07:16 +08:00
|
|
|
|
<div align="center"><b>unibest 是一个集成了多种工具和技术的 uniapp 开发模板,由 uniapp + Vue3 + Ts + Vite4 + UnoCss + UniUI + VSCode 构建,模板具有代码提示、自动格式化、统一配置、代码片段等功能,并内置了许多常用的基本组件和基本功能,让你编写 uniapp 拥有 best 体验。</b></div>
|
2024-01-23 10:42:55 +08:00
|
|
|
|
|
|
|
|
|

|
|
|
|
|
|
2024-01-28 19:24:10 +08:00
|
|
|
|
<p align="center">
|
2024-03-01 17:13:53 +08:00
|
|
|
|
<a href="https://codercup.github.io/unibest/" target="_blank">📱 在线预览</a>
|
|
|
|
|
<span style="margin:0 10px;">|</span>
|
2024-03-01 20:18:10 +08:00
|
|
|
|
<a href="https://codercup.github.io/unibest-docs/" target="_blank">📖 阅读文档</a>
|
2024-01-28 19:24:10 +08:00
|
|
|
|
</p>
|
|
|
|
|
|
2024-01-23 10:42:55 +08:00
|
|
|
|
## ⚙️ 环境
|
2024-01-03 10:52:59 +08:00
|
|
|
|
|
2024-03-01 09:46:41 +08:00
|
|
|
|
- node>=18
|
2024-01-24 19:29:52 +08:00
|
|
|
|
- pnpm>=7.30
|
2023-12-23 14:18:42 +08:00
|
|
|
|
|
2024-01-31 20:23:31 +08:00
|
|
|
|
## 📂 安装
|
2024-01-31 20:15:44 +08:00
|
|
|
|
|
|
|
|
|
执行 `pnpm i` 安装依赖
|
|
|
|
|
|
2024-01-24 14:35:10 +08:00
|
|
|
|
## 📦 运行(支持热更新)
|
2023-12-23 14:18:42 +08:00
|
|
|
|
|
2024-01-03 10:52:59 +08:00
|
|
|
|
- web平台: `pnpm dev:h5`, 然后打开 [http://localhost:9000/](http://localhost:9000/)。
|
|
|
|
|
- weixin平台:`pnpm dev:mp-weixin` 然后打开微信开发者工具,导入本地文件夹,选择本项目的`dist/dev/mp-weixin` 文件。
|
2024-01-23 10:42:55 +08:00
|
|
|
|
- APP平台:`pnpm dev:app`, 然后打开 `HBuilderX`,导入刚刚生成的`dist/dev/app` 文件夹,选择运行到模拟器(开发时优先使用),或者运行的安卓/ios基座。
|
2023-12-23 14:18:42 +08:00
|
|
|
|
|
2024-01-23 10:42:55 +08:00
|
|
|
|
## 🔗 发布
|
2023-12-23 14:18:42 +08:00
|
|
|
|
|
2024-01-29 10:58:37 +08:00
|
|
|
|
- web平台: `pnpm build:h5`,打包后的文件在 `dist/build/h5`,可以放到web服务器,如nginx运行。如果最终不是放在根目录,可以在 `manifest.config.ts` 文件的 `h5.router.base` 属性进行修改。
|
2024-02-06 03:22:20 +00:00
|
|
|
|
- weixin平台:`pnpm build:mp-weixin`, 打包后的文件在 `dist/build/mp-weixin`,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。
|
2024-01-19 17:53:21 +08:00
|
|
|
|
- APP平台:`pnpm build:app`, 然后打开 `HBuilderX`,导入刚刚生成的`dist/build/app` 文件夹,选择发行 - APP云打包。
|
2024-01-09 16:39:20 +08:00
|
|
|
|
|
2024-01-29 10:52:32 +08:00
|
|
|
|
## 📄 License
|
2024-01-22 09:46:38 +08:00
|
|
|
|
|
2024-01-23 10:42:55 +08:00
|
|
|
|
[MIT](https://opensource.org/license/mit/)
|
2024-01-22 09:46:38 +08:00
|
|
|
|
|
2024-01-23 10:42:55 +08:00
|
|
|
|
Copyright (c) 2024 菲鸽
|