Ver código fonte

新增 readme 部署说明

mrh 1 ano atrás
pai
commit
8aace59598
1 arquivos alterados com 10 adições e 0 exclusões
  1. 10 0
      README.md

+ 10 - 0
README.md

@@ -1,3 +1,13 @@
+# page
+https://developers.cloudflare.com/pages/
+
+```shell
+npm run build
+npx wrangler pages deploy ./dist/
+# 会提示登录,完成登录后,提示是否创建项目,项目以字母、- 命名。生产分支是 main 分支,如果当前 git 是 main 分支会默认发布到生产端
+git checkout -b main
+```
+
 # Vue 3 + TypeScript + Vite
 
 This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.