Browse Source

readme

master
孝坤 张 7 hours ago
parent
commit
3b43b6baef
  1. 9
      README.md

9
README.md

@ -13,6 +13,7 @@ taro react
### 项目启动
1. node > ver.18
1.1 npm install -g yarn
2. 安装yarn@1.22.19,执行`yarn install`
3. 执行`npm run dev:h5`,本地启动
4. 执行`npm run build:h5`,打包编译
@ -33,11 +34,11 @@ taro react
3. 网站/HTML项目 下 添加HTML项目
![image-20250708103317051](.\docs\image-20250708103317051.png)
![image-20250708103317051](docs\image-20250708103317051.png)
4. 修改nginx配置文件
![image-20250708103453330](.\docs\image-20250708103453330.png)
![image-20250708103453330](docs\image-20250708103453330.png)
```nginx
location ^~/api {
@ -65,11 +66,11 @@ taro react
5. 上传生产包
![image-20250708104053513](.\docs\image-20250708104053513.png)
![image-20250708104053513](docs\image-20250708104053513.png)
6. 重启nginx
![image-20250708104244826](.\docs\image-20250708104244826.png)
![image-20250708104244826](docs\image-20250708104244826.png)

Loading…
Cancel
Save