Browse Source

docs: 补充开发文档

carver 2 years ago
parent
commit
3d4b546256
1 changed files with 8 additions and 0 deletions
  1. 8 0
      README.md

+ 8 - 0
README.md

@@ -11,3 +11,11 @@ dev
 master
 
 ---
+
+## 切换环境和打包
+
+- 1.在小程序开发者工具切换所需要上线的小程序
+
+- 2.使用 npm 命令 `replace:${终端}-${环境}` 切换本地 config 到相对应的环境和终端
+
+- 3.在小程序开发者工具中上传版本