From ab0628a77bee4acbdf9f85f63d6f964018a3ed29 Mon Sep 17 00:00:00 2001 From: Burt <1020103647@qq.com> Date: Tue, 9 Jan 2024 16:39:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20developer=E7=9A=84=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E7=A7=BB=E5=88=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.developer.md | 24 ------------------------ README.md | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 24 deletions(-) delete mode 100644 README.developer.md diff --git a/README.developer.md b/README.developer.md deleted file mode 100644 index a593eb5..0000000 --- a/README.developer.md +++ /dev/null @@ -1,24 +0,0 @@ -# vue3-uniapp-template 开发者文档 - -本文档提供为开发者 - -## 拉取代码 - -- git 拉取 - - - github:`git clone https://github.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp` - - - gitee:`git clone https://gitee.com/fly-vue3-templates/vue3-uniapp-template.git fly-uniapp` - -- degit 拉取(不包含git,需要自己git init) - - - `npx degit https://github.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp` - - - `npx degit https://gitee.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp` - -- github template - ![Github template](./screenshots/github-template.png) - -## 文件整理 - -可以把不要的文件统统删除,或者留着当做参考。 diff --git a/README.md b/README.md index 9dcd76b..cb165df 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,23 @@ - pnpm>=8.12 - node>=18 +## 拉取代码 + +- git 拉取 + + - github:`git clone https://github.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp` + + - gitee:`git clone https://gitee.com/fly-vue3-templates/vue3-uniapp-template.git fly-uniapp` + +- degit 拉取(不包含git,需要自己git init) + + - `npx degit https://github.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp` + + - `npx degit https://gitee.com/fly-vue3-templates/vue3-uniapp-template fly-uniapp` + +- github template + ![Github template](./screenshots/github-template.png) + ## 运行 - web平台: `pnpm dev:h5`, 然后打开 [http://localhost:9000/](http://localhost:9000/)。 @@ -54,3 +71,7 @@ - web平台: `pnpm build:h5`,打包后的文件在 `dist/build/h5`,可以放到web服务器,如nginx运行。如果最终不是放在根目录,可以在 `vite.config.ts` 的 `base` 属性进行配置。[vite官网](https://cn.vitejs.dev/config/shared-options.html#base) ![vite.base](./screenshots/vite-base.png) - weixin平台:`pnpm build:h5`, 打包后的文件在 `dist/build/mp-weixin`,然后通过微信开发者工具导入,并点击右上角的“上传”按钮进行上传。 + +## 文件整理 + +可以把不要的文件统统删除,或者留着当做参考。