|
|
3 月之前 | |
|---|---|---|
| .. | ||
| .github | 4 月之前 | |
| .husky | 4 月之前 | |
| src | 3 月之前 | |
| .commitlintrc.cjs | 4 月之前 | |
| .cz-config.js | 4 月之前 | |
| .editorconfig | 4 月之前 | |
| .env | 4 月之前 | |
| .env.development | 4 月之前 | |
| .env.production | 4 月之前 | |
| .eslintrc-auto-import.json | 4 月之前 | |
| .eslintrc.cjs | 4 月之前 | |
| .gitattributes | 4 月之前 | |
| .gitignore | 4 月之前 | |
| .npmrc | 4 月之前 | |
| .prettierignore | 4 月之前 | |
| .prettierrc.cjs | 4 月之前 | |
| .stylelintrc.cjs | 4 月之前 | |
| README.md | 4 月之前 | |
| index.html | 4 月之前 | |
| manifest.config.js | 4 月之前 | |
| package.json | 3 月之前 | |
| pnpm-lock.yaml | 3 月之前 | |
| unocss.config.js | 4 月之前 | |
| vite.config.js | 4 月之前 | |
入门简单、开发简单、接近原生,适用于了解或不熟悉uniapp的开发人员去快速使用uniapp开发小程序、H5
📦 组件自动化引入
🛣 类 VueRouter 路由: 使用 uniapp-router-next 并进行了增强,如拦截器、中间件和路由别名,提供熟悉的 API 体验。
👇 内置 Z-Paging: 集成了高性能、易用的下拉分页组件,轻松实现下拉刷新和上拉加载更多等功能。
🎨 UnoCSS - 高性能且极具灵活性的即时原子化 CSS 引擎
🔥 使用 新的 <script setup> 语法
📥 API 自动加载 - 直接使用 Composition API 无需引入
🌍 API 采用模块化自动导入方式 根据demo.js文件设置接口,以API_xxx_method的方式命名,在请求时无需导入 直接使用useRequest()函数返回参数以解构的方式获取,拿到即为写入的接口
🍙 获取项目代码
git clone https://github.com/gitboyzcf/uni-preset-vue3-vite.git
🌈 安装依赖
pnpm install
🐥 运行
pnpm dev:mp-weixin
🍁 打包
pnpm build:mp-weixin
🍄 Git 提交
pnpm cz
✨ feat 增加新功能🐛 fix 修复问题/BUG🎉 init 初始化📝 docs 文档变更💄 style 代码格式(不影响代码运行的变动)♻️ refactor 重构(既不是增加feature,也不是修复bug)⚡️ perf 性能优化✅ test 增加测试⏪️ revert 回退🚀 build 构建过程或辅助工具的变动👷 ci CI 配置git add .
pnpm run cz