NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
1、打开商城后台下载小程序开源版代码,然后解压 [![](http://help.niushop.com.cn/assets/下载2-1.png)](http://help.niushop.com.cn/assets/下载2-1.png)[![](http://help.niushop.com.cn/assets/下载2-2.png)](http://help.niushop.com.cn/assets/下载2-2.png)2、下载hbuilder软件([https://www.dcloud.io/hbuilderx.html](https://www.dcloud.io/hbuilderx.html))该软件可以开发uni-app [![](http://help.niushop.com.cn/assets/hb2-1.png)](http://help.niushop.com.cn/assets/hb2-1.png)[![](http://help.niushop.com.cn/assets/hb2-2.png)](http://help.niushop.com.cn/assets/hb2-2.png)3、下载完成后解压、然后打开软件并且选择你解压出来的小程序源码导入 [![](http://help.niushop.com.cn/assets/导入2-1.png)](http://help.niushop.com.cn/assets/导入2-1.png)4、修改文件的api路径 示例([http://qijian.com](http://qijian.com/)) [![](http://help.niushop.com.cn/assets/路径2-1.png)](http://help.niushop.com.cn/assets/路径2-1.png)5、安装插件[![](http://help.niushop.com.cn/assets/插件2-2.png)](http://help.niushop.com.cn/assets/插件2-2.png)[![](http://help.niushop.com.cn/assets/插件2-3.png)](http://help.niushop.com.cn/assets/插件2-3.png) 6、配置完成后选择运行到浏览器[![](http://help.niushop.com.cn/assets/运行2-1.png)](http://help.niushop.com.cn/assets/运行2-1.png)7、选择网址在浏览器里面打开就可以进行查看[![](http://help.niushop.com.cn/assets/查看2-1.png)](http://help.niushop.com.cn/assets/查看2-1.png)8调试好以后,选择发行会生成编译好以后安装包 [![](http://help.niushop.com.cn/assets/发行.png)](http://help.niushop.com.cn/assets/发行.png)9、找到发行后生成的编译文件 [![](http://help.niushop.com.cn/assets/文件2-1.png)](http://help.niushop.com.cn/assets/文件2-1.png)10、上传文件到微信开发者工具,并且上传发布 [![](http://help.niushop.com.cn/assets/部署1-1.png)](http://help.niushop.com.cn/assets/部署1-1.png) [![](http://help.niushop.com.cn/assets/部署1-2.png)](http://help.niushop.com.cn/assets/部署1-2.png) [![](http://help.niushop.com.cn/assets/部署2-3.png)](http://help.niushop.com.cn/assets/部署2-3.png) [![](http://help.niushop.com.cn/assets/上传1-1.png)](http://help.niushop.com.cn/assets/上传1-1.png)