{"id":21394,"date":"2024-11-19T10:33:07","date_gmt":"2024-11-19T02:33:07","guid":{"rendered":"https:\/\/fwq.ai\/blog\/21394\/"},"modified":"2024-11-19T10:33:07","modified_gmt":"2024-11-19T02:33:07","slug":"vscode%e6%80%8e%e4%b9%88%e8%bf%90%e8%a1%8chtml5","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/21394\/","title":{"rendered":"vscode\u600e\u4e48\u8fd0\u884chtml5"},"content":{"rendered":"<p><strong>\u5982\u4f55\u4f7f\u7528  \u8fd0\u884c html5<\/strong><\/p>\n<p><strong>\u76f4\u63a5\u65b9\u6cd5<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<ul>\n<li>\u6253\u5f00 VSCode\uff0c\u65b0\u5efa\u4e00\u4e2a HTML5 \u6587\u4ef6\uff08.html \u6269\u5c55\u540d\uff09\u3002<\/li>\n<li>\u5728 HTML \u6587\u4ef6\u4e2d\u8f93\u5165\u4ee3\u7801\u3002<\/li>\n<li>\u5355\u51fb VSCode \u53f3\u4e0b\u89d2\u7684\u201c\u8fd0\u884c\u201d\u6309\u94ae\uff08\u901a\u5e38\u4e3a\u64ad\u653e\u56fe\u6807\uff09\uff0c\u6216\u6309 F5\u3002<\/li>\n<li>\u6d4f\u89c8\u5668\u5c06\u542f\u52a8\u5e76\u663e\u793a\u751f\u6210\u7684 HTML \u9875\u9762\u3002<\/li>\n<\/ul>\n<p><strong>\u4f7f\u7528 Live Server \u6269\u5c55<\/strong><\/p>\n<ol>\n<li>\u5b89\u88c5 Live Server \u6269\u5c55\u3002<\/li>\n<li>\u5728 HTML \u6587\u4ef6\u4e0a\u53f3\u952e\u5355\u51fb\uff0c\u9009\u62e9\u201c\u6253\u5f00 Live Server\u201d\u3002<\/li>\n<li>\u6d4f\u89c8\u5668\u5c06\u542f\u52a8\u5e76\u663e\u793a\u751f\u6210\u7684 HTML \u9875\u9762\u3002\u9875\u9762\u5c06\u5728\u6bcf\u6b21\u66f4\u6539\u65f6\u81ea\u52a8\u91cd\u65b0\u52a0\u8f7d\u3002<\/li>\n<\/ol>\n<p><strong>\u8be6\u7ec6\u8bf4\u660e<\/strong><\/p>\n<p><strong>\u76f4\u63a5\u65b9\u6cd5<\/strong><\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<p>\u6b64\u65b9\u6cd5\u9002\u7528\u4e8e\u5feb\u901f\u67e5\u770b HTML \u9875\u9762\u3002\u5b83\u4f7f\u7528 VSCode \u5185\u7f6e\u7684\u6d4f\u89c8\u5668\u8fdb\u884c\u6e32\u67d3\u3002<\/p>\n<p><strong>\u4f7f\u7528 Live Server \u6269\u5c55<\/strong><\/p>\n<p>\u6b64\u65b9\u6cd5\u66f4\u9002\u5408\u5f00\u53d1\u548c\u8c03\u8bd5\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u5b9e\u65f6\u9884\u89c8\u5e76\u81ea\u52a8\u91cd\u65b0\u52a0\u8f7d\u3002\u5b83\u9700\u8981\u5b89\u88c5 Live Server \u6269\u5c55\uff08https:\/\/marketplace.visualstudio.com\/items?itemName=ritwickdey.liveserver\uff09\u3002<\/p>\n<p><strong>\u5176\u4ed6\u63d0\u793a<\/strong><\/p>\n<ul>\n<li>\u786e\u4fdd\u5df2\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5 Web \u6d4f\u89c8\u5668\uff0c\u4f8b\u5982 Chrome \u6216 Firefox\u3002<\/li>\n<li>\u5bf9\u4e8e\u8f83\u5927\u7684\u9879\u76ee\uff0c\u8bf7\u4f7f\u7528\u4efb\u52a1\u8fd0\u884c\u5668\uff08\u4f8b\u5982 Grunt \u6216 Gulp\uff09\u6765\u81ea\u52a8\u5316\u548c\u7b80\u5316\u6784\u5efa\u8fc7\u7a0b\u3002<\/li>\n<li>\u8981\u5728\u672c\u5730\u670d\u52a1\u5668\u4e0a\u8fd0\u884c HTML5\uff0c\u8bf7\u4f7f\u7528 Node.js \u548c Express \u7b49\u5de5\u5177\u521b\u5efa Web \u670d\u52a1\u5668\u3002<\/li>\n<\/ul>\n<p>\u4ee5\u4e0a\u5c31\u662f\u600e\u4e48\u8fd0\u884chtml5\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5982\u4f55\u4f7f\u7528 \u8fd0\u884c html5 \u76f4\u63a5\u65b9\u6cd5 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u6253\u5f00 VSCode\uff0c\u65b0\u5efa\u4e00\u4e2a HTML5 \u6587\u4ef6\uff08.html \u6269\u5c55\u540d\uff09\u3002 \u5728 HTML \u6587\u4ef6\u4e2d\u8f93\u5165\u4ee3\u7801\u3002 \u5355\u51fb VSCode \u53f3\u4e0b\u89d2\u7684\u201c\u8fd0\u884c\u201d\u6309\u94ae\uff08\u901a\u5e38\u4e3a\u64ad\u653e\u56fe\u6807\uff09\uff0c\u6216\u6309 F5\u3002 \u6d4f\u89c8\u5668\u5c06\u542f\u52a8\u5e76\u663e\u793a\u751f\u6210\u7684 HTML \u9875\u9762\u3002 \u4f7f\u7528 Live Server \u6269\u5c55 \u5b89\u88c5 Live Server \u6269\u5c55\u3002 \u5728 HTML \u6587\u4ef6\u4e0a\u53f3\u952e\u5355\u51fb\uff0c\u9009\u62e9\u201c\u6253\u5f00 Live Server\u201d\u3002 \u6d4f\u89c8\u5668\u5c06\u542f\u52a8\u5e76\u663e\u793a\u751f\u6210\u7684 HTML \u9875\u9762\u3002\u9875\u9762\u5c06\u5728\u6bcf\u6b21\u66f4\u6539\u65f6\u81ea\u52a8\u91cd\u65b0\u52a0\u8f7d\u3002 \u8be6\u7ec6\u8bf4\u660e \u76f4\u63a5\u65b9\u6cd5 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u6b64\u65b9\u6cd5\u9002\u7528\u4e8e\u5feb\u901f\u67e5\u770b HTML \u9875\u9762\u3002\u5b83\u4f7f\u7528 VSCode \u5185\u7f6e\u7684\u6d4f\u89c8\u5668\u8fdb\u884c\u6e32\u67d3\u3002 \u4f7f\u7528 Live Server \u6269\u5c55 \u6b64\u65b9\u6cd5\u66f4\u9002\u5408\u5f00\u53d1\u548c\u8c03\u8bd5\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u5b9e\u65f6\u9884\u89c8\u5e76\u81ea\u52a8\u91cd\u65b0\u52a0\u8f7d\u3002\u5b83\u9700\u8981\u5b89\u88c5 Live Server \u6269\u5c55\uff08https:\/\/marketplace.visualstudio.com\/items?itemName=ritwickdey.liveserver\uff09\u3002 \u5176\u4ed6\u63d0\u793a \u786e\u4fdd\u5df2\u5728\u7cfb\u7edf\u4e2d\u5b89\u88c5 Web [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-21394","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=21394"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/21394\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=21394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=21394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=21394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}