小程序项目本地环境部署手册

326 阅读1分钟

1、从仓库拉取代码

git clone xxxxxxxx

2、安装Hbuild和微信开发者工具

image.png

image.png

3、下载项目依赖

选中项目根目录 --> 右键 --> 使用命令行窗口打开所在目录

npm i

4、运行到微信小程序

注:微信开发者工具开启服务端口,项目的小程序appId配置为项目id

image.png

image.png