بدون توضیح

Burt a1f2bef5d1 build: 配置文件一点小优化 2 سال پیش
.husky e9602040a5 build: husky + lint-staged + commitlint 2 سال پیش
.vscode f2a13090d5 build(vscode): vue文件格式化方式 2 سال پیش
env b62523fc69 chore: port 9000 2 سال پیش
screenshots 7d402f6145 docs: readme.md 2 سال پیش
src a1f2bef5d1 build: 配置文件一点小优化 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 7d402f6145 docs: readme.md 2 سال پیش
commitlint.config.cjs e9602040a5 build: husky + lint-staged + commitlint 2 سال پیش
index.html a87775137c build: 处理vite.config.ts 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 6480d971a1 feat: 去掉 @uni-helper/vite-plugin-uni-pages, 并没有什么用 2 سال پیش

README.md

vue3-uniapp-template

特性

环境

  • 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,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。