{"id":1323,"date":"2023-03-18T12:09:17","date_gmt":"2023-03-18T04:09:17","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=1323"},"modified":"2023-04-29T09:11:09","modified_gmt":"2023-04-29T01:11:09","slug":"develop-mini-programs-using-uni-app","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/03\/18\/develop-mini-programs-using-uni-app\/","title":{"rendered":"\u4f7f\u7528uni-app\u5f00\u53d1\u5c0f\u7a0b\u5e8f"},"content":{"rendered":"<blockquote>\n<p>\u6ce8\u610f\uff1a\u63a8\u8350\u4f7f\u7528\u7cfb\u7edfCMD\u7a97\u53e3\uff0cHBuilder X \u7684\u7ec8\u7aef\u63d2\u4ef6\u4e0d\u80fd\u81ea\u5b9a\u4e49PATH\u53d8\u91cf<\/p>\n<\/blockquote>\n<pre><code class=\"language-bash\">$ set PATH=D:\\node-v15.5.1-win-x64;%PATH%\n$ cd my-project\n$ npm i\n$ npm run build:mp-weixin\n$ npm run build:mp-alipay<\/code><\/pre>\n<p><!-- more --><\/p>\n<ul>\n<li>\u4f7f\u7528\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\u6253\u5f00\u76ee\u5f55\uff1a<code>my-project\/dist\/build\/mp-weixin<\/code><\/li>\n<li>\u4f7f\u7528\u652f\u4ed8\u5b9d\u5f00\u53d1\u8005\u5de5\u5177\u6253\u5f00\u76ee\u5f55\uff1a<code>my-project\/dist\/build\/mp-alipay<\/code><\/li>\n<\/ul>\n<p>HBuilder X\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/www.dcloud.io\/hbuilderx.html\">https:\/\/www.dcloud.io\/hbuilderx.html<\/a><br \/>\n\u5fae\u4fe1\u5f00\u53d1\u8005\u5de5\u5177\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/devtools\/download.html\">https:\/\/developers.weixin.qq.com\/miniprogram\/dev\/devtools\/download.html<\/a><br \/>\n\u652f\u4ed8\u5b9d\u5f00\u53d1\u8005\u5de5\u5177\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/opendocs.alipay.com\/mini\/ide\/download\">https:\/\/opendocs.alipay.com\/mini\/ide\/download<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6ce8\u610f\uff1a\u63a8\u8350\u4f7f\u7528\u7cfb\u7edfCMD\u7a97\u53e3\uff0cHBuilder X \u7684\u7ec8\u7aef\u63d2\u4ef6\u4e0d\u80fd\u81ea\u5b9a\u4e49PATH\u53d8\u91cf $ set PATH=D [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37],"tags":[],"class_list":["post-1323","post","type-post","status-publish","format-standard","hentry","category-uni-app"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1323","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=1323"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/1323\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=1323"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=1323"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=1323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}