{"id":20246,"date":"2024-04-01T16:41:52","date_gmt":"2024-04-01T08:41:52","guid":{"rendered":"https:\/\/www.yimenyun.cn\/emen\/?p=20246"},"modified":"2024-04-01T16:41:52","modified_gmt":"2024-04-01T08:41:52","slug":"windows%e6%89%93%e5%8c%85html5%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0%e7%9a%84%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.yimenyun.cn\/emen\/20246\/","title":{"rendered":"windows\u6253\u5305html5\u5982\u4f55\u5b9e\u73b0\u7684\uff1f"},"content":{"rendered":"

HTML5\u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u7f51\u9875\u5f00\u53d1\u8bed\u8a00\u4e4b\u4e00\uff0c\u5b83\u53ef\u4ee5\u5728\u4efb\u4f55\u8bbe\u5907\u4e0a\u8fd0\u884c\uff0c\u5305\u62ecPC\u3001\u79fb\u52a8\u8bbe\u5907\u548c\u5e73\u677f\u7535\u8111\u7b49\u3002\u5982\u679c\u4f60\u60f3\u5c06\u4f60\u7684HTML5\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210Windows\u5e94\u7528\uff0c\u90a3\u4e48\u4f60\u9700\u8981\u4e86\u89e3\u4e00\u4e9b\u57fa\u672c\u7684\u77e5\u8bc6\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Visual Studio\u5c06HTML5\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210Windows\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

\u9996\u5148\uff0c\u4f60\u9700\u8981\u4e0b\u8f7d\u548c\u5b89\u88c5Visual Studio\u3002\u5b83\u662f\u4e00\u4e2aIDE\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5f00\u53d1\u548c\u6253\u5305Windows\u5e94\u7528\u7a0b\u5e8f\u3002\u4f60\u53ef\u4ee5\u5728\u5b98\u65b9\u7f51\u7ad9\u4e0a\u4e0b\u8f7d\u5b83\uff0c\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u9700\u8981\u9009\u62e9\u201cUniversal Windows Platform development\u201d\u9009\u9879\u3002<\/p>\n

\u63a5\u4e0b\u6765\uff0c\u4f60\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u9879\u76ee\u3002\u5728Visual Studio\u4e2d\uff0c\u9009\u62e9\u201cFile\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201cNew\u201d\u548c\u201cProject\u201d\u3002\u5728\u201cNew Project\u201d\u5bf9\u8bdd\u6846\u4e2d\uff0c\u9009\u62e9\u201cJavaScript\u201d\u548c\u201cWindows\u201d\u9009\u9879\u3002\u7136\u540e\uff0c\u9009\u62e9\u201cBlank App (Universal Windows)\u201d\u4f5c\u4e3a\u9879\u76ee\u6a21\u677f\u3002\u5728\u201cBlank App (Universal Windows)\u201d\u5bf9\u8bdd\u6846\u4e2d\uff0c\u4e3a\u4f60\u7684\u9879\u76ee\u547d\u540d\uff0c\u5e76\u9009\u62e9\u4e00\u4e2a\u4fdd\u5b58\u4f4d\u7f6e\u3002<\/p>\n

\u73b0\u5728\uff0c\u4f60\u9700\u8981\u5c06\u4f60\u7684HTML5\u5e94\u7528\u7a0b\u5e8f\u6dfb\u52a0\u5230\u4f60\u7684\u9879\u76ee\u4e2d\u3002\u5728\u89e3\u51b3\u65b9\u6848\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\uff0c\u53f3\u952e\u5355\u51fb\u201c\u9879\u76ee\u201d\u6587\u4ef6\u5939\uff0c\u7136\u540e\u9009\u62e9\u201cAdd\u201d\u548c\u201cExisting Item\u201d\u3002\u5728\u201cAdd Existing Item\u201d\u5bf9\u8bdd\u6846\u4e2d\uff0c\u9009\u62e9\u4f60\u7684HTML5\u5e94\u7528\u7a0b\u5e8f\u7684\u6839\u76ee\u5f55\uff0c\u5e76\u9009\u62e9\u201c\u6240\u6709\u6587\u4ef6\u201d\u9009\u9879\u3002\u7136\u540e\uff0c\u9009\u62e9\u4f60\u7684HTML5\u5e94\u4e00\u79d2\u5236\u4f5cexe<\/a>\u7528\u7a0b\u5e8f\u7684\u4e3b\u9875\u6587\u4ef6\uff0c\u901a\u5e38\u662f\u201cindex.html\u201d\u6587\u4ef6\u3002\u5c06\u8be5\u6587\u4ef6\u6dfb\u52a0\u5230\u4f60\u7684\u9879\u76ee\u4e2d\u3002<\/p>\n

\u63a5\u4e0b\u6765\uff0c\u4f60\u9700\u8981\u5c06\u4f60\u7684HTML5\u5e94\u7528\u7a0b\u5e8f\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u542f\u52a8\u9875\u9762\u3002\u5728\u89e3\u51b3\u65b9\u6848\u8d44\u6e90\u7ba1\u7406\u5668\u4e2d\uff0c\u53f3\u952e\u5355\u51fb\u201cindex.html\u201d\u6587\u4ef6\uff0c\u7136\u540e\u9009\u62e9\u201cSet as Start Page\u201d\u3002<\/p>\n

\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u6784\u5efa\u548c\u6253\u5305\u4f60\u7684Windows\u5e94\u7528\u7a0b\u5e8f\u3002\u5728Visual Studio\u4e2d\uff0c\u9009\u62e9\u201cBuild\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201cBuild Solution\u201d\u3002\u8fd9\u5c06\u6784\u5efa\u4f60\u7684<\/p>\n

<\/figure>\n<\/p>\n

\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n

\u63a5\u4e0b\u6765\uff0c\u9009\u62e9\u201cProject\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201cStore\u201d\u548c\u201cCreate App Packages\u201d\u3002\u8fd9\u5c06\u542f\u52a8\u201cCreate App Packages\u201d\u5411\u5bfc\u3002\u5728\u5411\u5bfc\u4e2d\uff0c\u4f60\u9700\u8981\u9009\u62e9\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u76ee\u6807\u5e73\u53f0\u548cCPU\u67b6\u6784\u3002\u7136\u540e\uff0c\u4f60\u9700\u8981\u9009\u62e9\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u7248\u672c\u53f7\u548c\u53d1\u5e03\u65b9\u5f0f\u3002\u6700\u540e\uff0c\u4f60\u9700\u8981\u9009\u62e9\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u7b7e\u540d\u8bc1\u4e66\u3002\u8fd9\u5c06\u786e\u4fdd\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5728\u5b89\u88c5\u65f6\u80fd\u591f\u88ab\u9a8c\u8bc1\u3002<\/p>\n

\u6700\u540e\uff0c\u4f60\u9700\u8981\u4e0a\u4f20\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u5230Windows Store\u3002\u5728Visual Studio\u4e2d\uff0c\u9009\u62e9\u201cProject\u201d\u83dc\u5355\uff0c\u7136\u540e\u9009\u62e9\u201cStore\u201d\u548c\u201cAssociate App with the Store\u201d\u3002\u8fd9\u5c06\u542f\u52a8\u201cAssociate App with deb\u8f6f\u4ef6\u5305<\/a>the Store\u201d\u5411\u5bfc\u3002\u5728\u5411\u5bfc\u4e2d\uff0c\u4f60\u9700\u8981\u767b\u5f55Microsoft\u8d26\u6237\uff0c\u5e76\u8bbe\u7f6e\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u76f8\u5173\u4fe1\u606f\u3002\u7136\u540e\uff0c\u4f60\u9700\u8981\u4e0a\u4f20\u4f60\u7684\u5e94\u7528\u7a0b\u5e8f\u7684\u5305\u5e76\u63d0\u4ea4\u5ba1\u6838\u3002<\/p>\n

\u603b\u4e4b\uff0c\u4f7f\u7528Visual Studio\u5c06HTML5\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210Windows\u5e94\u7528\u7a0b\u5e8f\u975e\u5e38\u7b80\u5355\u3002\u53ea\u9700\u8981\u6309\u7167\u4e0a\u8ff0\u6b65\u9aa4\u64cd\u4f5c\uff0c\u4f60\u5c31\u80fd\u591f\u5c06\u4f60\u7684HTML5\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210Windows\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u5c06\u5176\u4e0a\u4f20\u5230Windows Store\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

HTML5\u662f\u76ee\u524d\u6700\u6d41\u884c\u7684\u7f51\u9875\u5f00\u53d1\u8bed\u8a00\u4e4b\u4e00\uff0c\u5b83\u53ef\u4ee5\u5728\u4efb\u4f55\u8bbe\u5907\u4e0a\u8fd0\u884c\uff0c\u5305\u62ecPC\u3001\u79fb\u52a8\u8bbe\u5907\u548c\u5e73\u677f\u7535\u8111\u7b49\u3002\u5982\u679c\u4f60\u60f3\u5c06\u4f60\u7684HTML5\u5e94\u7528\u7a0b\u5e8f\u6253\u5305\u6210Windows\u5e94\u7528\uff0c\u90a3\u4e48\u4f60\u9700\u8981\u4e86\u89e3\u4e00\u4e9b\u57fa\u672c\u7684\u77e5\u8bc6\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[12,22407,9512,5984,23],"topic":[],"class_list":["post-20246","post","type-post","status-publish","format-standard","hentry","category-exekf","tag-12","tag-22407","tag-exe","tag-5984","tag-23"],"_links":{"self":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/20246","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/comments?post=20246"}],"version-history":[{"count":1,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/20246\/revisions"}],"predecessor-version":[{"id":20277,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/posts\/20246\/revisions\/20277"}],"wp:attachment":[{"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/media?parent=20246"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/categories?post=20246"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/tags?post=20246"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.yimenyun.cn\/emen\/wp-json\/wp\/v2\/topic?post=20246"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}