Нема описа

Burt 0600f6aeb0 build: 优化title配置 пре 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 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 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

特性

环境

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