Нет описания

Burt 524f82063d feat: add 微信分享 2 лет назад
.husky e9602040a5 build: husky + lint-staged + commitlint 2 лет назад
.vscode f2a13090d5 build(vscode): vue文件格式化方式 2 лет назад
env 0600f6aeb0 build: 优化title配置 2 лет назад
screenshots 7d402f6145 docs: readme.md 2 лет назад
src 524f82063d feat: add 微信分享 2 лет назад
.editorconfig 47c8ac2b5d build(prettier): add .prettierrc.js 2 лет назад
.eslintrc.cjs a1f2bef5d1 build: 配置文件一点小优化 2 лет назад
.gitignore a1f2bef5d1 build: 配置文件一点小优化 2 лет назад
.npmrc 11629b2c11 build(.npmrc): add .npmrc & pnpm i 2 лет назад
.prettierrc.cjs c51e7181f8 chore: test file 2 лет назад
.stylelintrc.cjs 6b8c822306 build: stylelint 2 лет назад
README.md 5ea86de7ce docs(readme): add 业务功能 TODO LIST 2 лет назад
commitlint.config.cjs e9602040a5 build: husky + lint-staged + commitlint 2 лет назад
index.html 0600f6aeb0 build: 优化title配置 2 лет назад
package.json 6480d971a1 feat: 去掉 @uni-helper/vite-plugin-uni-pages, 并没有什么用 2 лет назад
pnpm-lock.yaml 6480d971a1 feat: 去掉 @uni-helper/vite-plugin-uni-pages, 并没有什么用 2 лет назад
shims-uni.d.ts a1f2bef5d1 build: 配置文件一点小优化 2 лет назад
tsconfig.json 569546c4dd feat: 引入uni-ui 2 лет назад
uni-pages.d.ts 600274d573 feat(vite): 引入 @uni-helper/vite-plugin-uni-pages 2 лет назад
uno.config.ts 3c6321ad88 fix(unocss): 处理unocss在小程序中报错 2 лет назад
vite.config.ts e3648ad1a0 build(vite): refine vite.config.ts 2 лет назад

README.md

vue3-uniapp-template

特性

业务功能 TODO LIST

  • 页面下拉刷新
  • 页面悬浮球
  • 导航栏返回or去首页
  • 自定义导航栏顶部机型适配
  • 微信小程序分享(好友+朋友圈)
  • 多tab列表功能
  • 抽奖转盘

环境

  • pnpm>=8.12
  • node>=16

运行

  • web平台: pnpm dev:h5, 然后打开 http://localhost:9000/
  • weixin平台:pnpm dev:mp-weixin 然后打开微信开发者工具,导入本地文件夹,选择本项目的dist/dev/mp-weixin 文件。

发布

  • web平台: pnpm build:h5,打包后的文件在 dist/build/h5,可以放到web服务器,如nginx运行。如果最终不是放在根目录,可以在 vite.config.tsbase 属性进行配置。vite官网 vite.base
  • weixin平台:pnpm build:h5, 打包后的文件在 dist/build/mp-weixin,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。