将前端导入到hbuilder X后安装依赖
配置站点域名与ID
上述完成后就可以发布小程序了,
复制下方代码粘贴至开发者工具的app.json
开发者工具添加代码方式参考下图
然后发布就可以了
, { "root": "pages/index/index/", "pages":[ "index" ], "plugins": { "menpiao-plugin": { "version": "latest", "provider": "wx06aa3a687000c5d1" }, "meishi": { "version": "latest", "provider": "wx5c787b48e6a02a51" }, "jtkDc": { "version": "latest", "provider": "wx6c999744b6d125ef" } } }, { "root": "pages/index/index2/", "pages":[ "index" ], "plugins": { "jtkMovie": { "version": "latest", "provider": "wx89752980e795bfde" }, "bdshPlugin": { "version": "latest", "provider": "wx3451c23b62c65d8a" } } }