{"id":88,"date":"2023-12-05T21:01:32","date_gmt":"2023-12-05T13:01:32","guid":{"rendered":"https:\/\/hosting.wavpub.cn\/tech-podfest\/?p=88"},"modified":"2023-12-05T21:01:33","modified_gmt":"2023-12-05T13:01:33","slug":"%e5%92%8c-vue-js-vite-%e4%bd%9c%e8%80%85%e5%b0%a4%e9%9b%a8%e6%ba%aa%e8%81%8a%e9%a1%b9%e7%9b%ae%e8%bf%9b%e5%b1%95%e3%80%81%e5%bc%80%e6%ba%90%e7%a4%be%e5%8c%ba%e5%8d%8f%e4%bd%9c%e5%92%8c%e5%89%8d","status":"publish","type":"post","link":"https:\/\/hosting.wavpub.cn\/tech-podfest\/2023\/12\/05\/%e5%92%8c-vue-js-vite-%e4%bd%9c%e8%80%85%e5%b0%a4%e9%9b%a8%e6%ba%aa%e8%81%8a%e9%a1%b9%e7%9b%ae%e8%bf%9b%e5%b1%95%e3%80%81%e5%bc%80%e6%ba%90%e7%a4%be%e5%8c%ba%e5%8d%8f%e4%bd%9c%e5%92%8c%e5%89%8d\/","title":{"rendered":"\u548c Vue.js\/Vite \u4f5c\u8005\u5c24\u96e8\u6eaa\u804a\u9879\u76ee\u8fdb\u5c55\u3001\u5f00\u6e90\u793e\u533a\u534f\u4f5c\u548c\u524d\u7aef\u601d\u8003"},"content":{"rendered":"\n<h2>\u4ecb\u7ecd<\/h2>\n\n\n\n<p>\u672c\u671f\u64ad\u5ba2\u662f\u53c2\u4e0e #2023\u6280\u672f\u64ad\u5ba2\u8282 \u5171\u521b\u5171\u5efa\u7684\u4e00\u671f\u5185\u5bb9\u300212\u67084\u65e5\u81f38\u65e5\uff0c\u6bcf\u5929\u56f4\u7ed5\u4e00\u4e2a\u4e3b\u9898\uff0c\u5e26\u67658\uff5e11\u671f\u7684\u5185\u5bb9\uff0c\u66f4\u591a\u8be6\u60c5\u4e5f\u53ef\u5173\u6ce8\u5b98\u7f51 https:\/\/podfest.tech \uff0c\u6216\u8005\u5fae\u4fe1\u516c\u4f17\u53f7\u3001\u5373\u523b\u3001X\u641c\u7d22\u300c2023\u6280\u672f\u64ad\u5ba2\u8282\u300d\uff0c\u6b22\u8fce\u5927\u5bb6\u591a\u591a\u5173\u6ce8\uff0c\u4e00\u952e\u591a\u8fde\uff01<\/p>\n\n\n\n<p>\u65b0\u4e00\u671f\u64ad\u5ba2\u6765\u5566\uff0c\u8fd9\u6b21\u6211\u4eec\u5389\u5bb3\u4e86\uff01\u6211\u4eec\u9080\u8bf7\u5230\u4e86\u5fc3\u5fc3\u5ff5\u5ff5\u7684\u5c24\u96e8\u6eaa Evan You \u52a0\u5165\u95f2\u804a\u3002\u6211\u4eec\u8fd8\u9080\u8bf7\u4e86 Vue \u6838\u5fc3\u56e2\u961f\u7684\u6210\u5458\u667a\u5b50\uff0c\u8d1f\u8d23 Vue\/Vite \u4e2d\u6587\u6587\u6863\u7ef4\u62a4\u7684\u6c88\u9752\u5ddd\u52a0\u5165\u8ba8\u8bba\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u56f4\u7ed5\u8fd1\u671f Vue.js \/ Vite\u7684\u6280\u672f\u53d8\u5316\u3001\u5f00\u6e90\u793e\u533a\u7ef4\u62a4\u3001\u524d\u7aef\u672a\u6765\u53d1\u5c55\u7684\u601d\u8003\u5c55\u5f00\u3002\u4e5f\u804a\u4e86\u4e00\u4e9b\u8f7b\u677e\u8bdd\u9898\uff0c\u6bd4\u5982\uff1a<br>\u600e\u4e48\u770b\u4ed6\u88ab\u79f0\u547c\u5c24\u5927\uff0c\u7956\u5e08\u7237\u8fd9\u4e2a\u7ef0\u53f7\uff1f<br>github \u4e0ayyx990803 \u795e\u79d8\u7684\u6570\u5b57\u662f\u4ec0\u4e48\u610f\u601d\uff1f<br>Vue4 \u5565\u89c4\u5212\uff1f<br>\u672a\u6765\u662f\u5426\u6709\u8ba1\u5212\u9000\u4f11\uff1f<br>\u5199 Vue \u7528\u4e0d\u7528 Copilot\uff1f<br>\u53d1\u9645\u7ebf\u5982\u4f55\u4fdd\u517b\u7b49\u975e\u6280\u672f\u8bdd\u9898\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/cdn.ijust.cc\/img\/202312042251039.png\" alt=\"image.png\" \/><\/figure>\n\n\n\n<p><a href=\"https:\/\/twitter.com\/yuxiyou\/status\/1722521105871814668\">Evan \u7684\u684c\u9762<\/a><\/p>\n\n\n\n<h2>\u65f6\u95f4\u8f74<\/h2>\n\n\n\n<p>00:25 opening\uff0c\u8f9b\u5b9d\u3001\u5c0f\u767d\u83dc\u3001\u5f00\u7ffc\u548c smart\uff0c\u9080\u8bf7\u5230\u4e86\u667a\u5b50\u3001\u6c88\u9752\u5ddd\u548c\u5c24\u96e8\u6eaa\u3002<br>01:55 Evan \u7684\u81ea\u5df1\u4ecb\u7ecd\u548c\u7f51\u7edc\u75d5\u8ff9\u3002<br>02:55 \u667a\u5b50\u548c\u6c88\u9752\u5ddd\u7ebf\u4e0b\u548c Evan \u7684\u611f\u53d7\uff1a\u968f\u548c\uff01<br>04:08 \u5feb\u901f\u56de\u987e Vu2 -&gt; Vue3 \u7684\u7ecf\u9a8c\u590d\u76d8<br>12:12 \u5feb\u901f\u56de\u987e Vite \u8fd9\u4e00\u5e74\u7684\u53d8\u5316\u548c\u5c55\u671b<br>19:31 \u804a Vue \u7684\u672a\u6765\u7248\u672c\u8fed\u4ee3\u8ba1\u5212\uff0cVapor Mode \u7684\u89c4\u5212\uff0c\u524d\u7aef\u5feb\u901f\u53d8\u5316\u7684\u601d\u8003\uff0c\u9510\u8bc4\uff01<br>29:24 \u804a\u5f00\u6e90\u793e\u533a\u548c\u4f01\u4e1a\u5f00\u53d1\u7684\u533a\u522b\uff0c\u9879\u76ee\u8fed\u4ee3\u8fc7\u3001\u5bf9\u5f85\u4e1a\u52a1\u548c\u57fa\u5efa\u7684\u5dee\u5f02\u70b9\u3002<br>31:38 Vue.js &amp; Vite \u76ee\u524d\u5f00\u6e90\u793e\u533a\u534f\u4f5c\u60c5\u51b5\u5982\u4f55\uff0c\u804a issues \u548cPR \u591a\u4e0d\u591a\uff0c\u53c2\u4e0e\u4eba\u6570\u548c\u6d3b\u8dc3\u5ea6\u3001\u53d1\u7248\u8fed\u4ee3\u60c5\u51b5\u7b49<br>44:34 \u5f00\u6e90\u7231\u597d\u8005\u5982\u4f55\u8ba9\u81ea\u5df1\u7684\u9879\u76ee\u53d8\u5f97\u66f4\u6d41\u884c\uff0c\u5438\u5f15\u5230\u66f4\u591a\u4eba\u53c2\u4e0e\u8d21\u732e\uff1f\u5f00\u6e90\u7231\u597d\u8005\u5982\u4f55\u53c2\u4e0e\u8d21\u732e\uff1f\u804a\u804a\u90a3\u4e9b\u5b9d\u85cf\u8d21\u732e\u8005\u3002<br>52:10 Vue &amp; Vite \u7b49\u5f00\u6e90\u9879\u76ee\u88ab\u5e7f\u6cdb\u4f7f\u7528\u4e86\uff0c\u7ef4\u62a4\u8fc7\u7a0b\u662f\u5426\u611f\u53d7\u5230\u8d23\u4efb\u548c\u538b\u529b\uff1fEvan \u548c\u667a\u5b50\u7ed9\u51fa\u4e86\u4e0d\u540c\u7684\u611f\u53d7\u3002<br>54:26 \u5728\u5f00\u53d1\u548c\u7ef4\u62a4\u7684\u8fc7\u7a0b\u4e2d\uff0c\u9047\u5230\u67d0\u4e9b\u5927\u4f01\u4e1a\u3001\u5927\u578b\u9879\u76ee\u9009\u62e9\u4f7f\u7528 Vue &amp; Vite \uff0c\u8fd8\u4f1a\u6301\u7eed\u611f\u53d7\u5230\u9f13\u821e\u548c\u5174\u594b\u5417\uff1f<br>55:36 Evan \u5982\u4f55\u5206\u914d\u81ea\u5df1\u7684\u7cbe\u529b\u5728 Vue \u548c Vite\uff1f<br>56:49 <code>Rolldown<\/code> \u548c <code>Rspack<\/code> \u5728 Rust \u9508\u5316\u5de5\u5177\u94fe\u6709\u5408\u4f5c\uff0c\u600e\u4e48\u770b\u5f85 Rust\uff0cRust \u672a\u6765\u548c\u524d\u7aef\u7684\u5173\u7cfb\u3002<br>61:36 \u73b0\u5728\u9664\u4e86 Node.js\uff0c\u8fd8\u53ef\u4ee5\u9009\u62e9 Deno \/ Bun \u7b49\uff0cEvan \u5982\u4f55\u770b\u5f85 js \u751f\u6001\u7684\u53d8\u5316\uff1f\u9510\u8bc4\uff01<br>68:30 Vue \u548c\u539f\u751f\u5f00\u53d1\u600e\u4e48\u601d\u8003\uff0c\u4f1a\u51fa\u624b\u5417\uff1fEvan \u63d0\u5230\u4e86 NativeScript \u548c Inoic \u7b49\u65b9\u6848\u3002<br>69:09 \u524d\u7aef\u6846\u67b6\u5305\u62ec Meta \u6846\u67b6\u7684\u7ade\u4e89\uff0cEvan \u5982\u4f55\u770b\u5f85\u524d\u7aef\u6280\u672f\u6808\u7684\u7ade\u4e89\uff0c\u9884\u6d4b\u672a\u6765\u7684\u6f14\u8fdb\u3002\u9510\u8bc4\uff01<br>82:43 Evan \u662f\u5982\u4f55\u4fdd\u517b\u989c\u503c\u548c\u5934\u53d1\u7684\uff1fEvan \u4e5f\u6709\u70e6\u607c\u3002<br>83:37 \u9636\u6bb5\u603b\u7ed3\u548c\u56de\u987e<br>84:24 \u4eca\u5e74\u53bb\u53c2\u52a0\u5168\u7403\u5404\u5730\u7684\u7ebf\u4e0b\u6280\u672f\u805a\u4f1a\uff0c\u611f\u53d7\u5982\u4f55\uff1f<br>87:28 Evan \u5e73\u65f6\u5de5\u4f5c\u548c\u751f\u6d3b\u5206\u914d\u5f97\u600e\u4e48\u6837\uff0c\u7d2f\u4e0d\u7d2f\uff0c\u6709\u6ca1\u6709\u52b3\u9038\u7ed3\u5408\uff1f<br>68:22 Web Worker \u64ad\u5ba2\u7684\u5386\u53f2\u5609\u5bbe\u6bd4\u5982\u667a\u5b50\u3001\u6c88\u9752\u5ddd\u3001\u79d1\u6bd4\u54e5\u3001\u767d\u96fe\u7b49\u5609\u5bbe\u662f\u4e0d\u662f\u5f88\u5389\u5bb3\uff0c\u611f\u53d7\u5982\u4f55\uff1f<br>90:19 Evan \u6700\u8fd1\u5fd9\u4ec0\u4e48\uff0c\u5728\u5b66\u4ec0\u4e48\u6280\u672f\uff1fRust\uff01\u6211\u4eec\u9700\u8981\u5b66\u4e60 Rust \u5417\uff1f<br>94:03 Evan \u5982\u4f55\u770b\u5f85\u5927\u6a21\u578b\uff0c\u5e73\u65f6\u7528\u7684\u591a\u5417\uff0c\u611f\u53d7\u5982\u4f55\uff1f<br>98:13 \u7ef4\u62a4 Vue \u5feb\u5341\u5e74\u4e86\uff0c\u5982\u4f55\u4fdd\u6301\u5bf9\u7f16\u7a0b\u7684\u70ed\u60c5\uff1f\u5927\u5bb6\u5982\u4f55\u4fdd\u6301\u4fdd\u62a4\u81ea\u5df1\u7684\u7cbe\u529b\uff0c\u5982\u4f55\u8fdb\u884c\u8c03\u6574\u5fc3\u7406\u72b6\u6001\uff1f<br>103:42 \u5982\u4f55\u770b\u5f85\u5927\u5bb6\u611f\u89c9\u524d\u7aef\u53d1\u5c55\u592a\u5feb\uff0c\u5b66\u4e0d\u52a8\u7684\u5fc3\u6001\uff0cVue4 \u53d8\u5316\u4f1a\u5927\u5417\uff1f<br>104:33 Github \u7684 ID \u91cc\u6709\u4e00\u4e32\u795e\u79d8\u7684\u6570\u5b57\uff0c\u8fd9\u6709\u4ec0\u4e48\u795e\u79d8\u7684\u542b\u4e49\uff1f\u53cd\u6b63\u4e0d\u662f\u751f\u65e5\uff01<br>104:51 \u5bf9\u542c\u53cb\u4e2d\u7684\u5728\u6821\u751f\u3001\u521a\u5165\u884c\u524d\u7aef\u6ca1\u591a\u4e45\u7684\u524d\u7aef\u7a0b\u5e8f\u5458\u6709\u54ea\u4e9b\u8fc7\u6765\u4eba\u7ecf\u9a8c\uff0c\u5982\u679c\u8ba9\u81ea\u5df1\u53d8\u5f97\u66f4\u5f3a\uff1f<br>108:34 \u5c24\u8001\u5e08\u3001\u5c24\u5927\u3001\u7956\u5e08\u7237\u7b49\u4e0d\u540c\u7684\u6635\u79f0\uff0cEvan \u600e\u4e48\u770b\uff0c\u54c8\u54c8\u5f00\u5fc3\u5417\uff1f\u542c\u5b8c\u8fd9\u4e2a\uff0c\u4f60\u4f1a\u611f\u89c9 Evan \u5f88\u8ba4\u771f\u548c\u771f\u8bda\u3002<\/p>\n\n\n\n<h2>\u76f8\u5173\u94fe\u63a5<\/h2>\n\n\n\n<ul><li><a href=\"https:\/\/github.com\/yyx990803\">\u5c24\u96e8\u6eaa Github<\/a><\/li><li><a href=\"https:\/\/github.com\/vuejs\/core\">Vue.js<\/a><\/li><li><a href=\"https:\/\/github.com\/vitejs\/vite\">Vite<\/a><\/li><li><a href=\"https:\/\/www.bilibili.com\/video\/BV1cC4y1y7Cp\/?vd_source=3f252d4a25a562e9ca65d1f99673441e\">FEDay \u4e0a\u7684\u4e2d\u6587\u6f14\u8bb2<\/a><\/li><li><a href=\"https:\/\/www.youtube.com\/watch?v=hrdwQHoAp0M&amp;t=486s\">Rolldown<\/a><\/li><li><a href=\"https:\/\/github.com\/vuejs\/core-vapor#todo\">Vue.js Vapor Mode<\/a><\/li><li><a href=\"https:\/\/github.com\/web-infra-dev\/rspack\">Rspack<\/a><\/li><li><a href=\"https:\/\/deno.com\/\">Deno<\/a><\/li><li><a href=\"https:\/\/bun.sh\/\">Bun<\/a><\/li><li><a href=\"https:\/\/nativescript.org\/\">NativeScript<\/a><\/li><li><a href=\"https:\/\/capacitorjs.com\/\">Inoic capacitor<\/a><\/li><\/ul>\n\n\n\n<h2>\u5173\u4e8e\u300c2023 \u6280\u672f\u64ad\u5ba2\u8282\u300d<\/h2>\n\n\n\n<p>\u7f18\u8d77\u4e8e2022\u4ef2\u590f\u65f6\u8282\u6280\u672f\u64ad\u5ba2\u4e4b\u95f4\u7684\u68a6\u5e7b\u8054\u52a8\uff0c\u6211\u4eec\u611f\u53d7\u5230\u4e86\u793e\u533a\u5171\u521b\u5171\u5efa\u7684\u529b\u91cf\u3002\u4eca\u5e74\u6211\u4eec\u518d\u63a5\u518d\u5389\uff0c\u96c6\u7ed3\u4e8630+\u64ad\u5ba2\u30015\u5927\u51fa\u54c1\u4eba\u300120+\u793e\u533a\uff0c\u5e0c\u671b\u62c9\u52a8\u66f4\u591a\u6280\u672f\u751f\u6001\u7684\u5185\u5bb9\u521b\u4f5c\u8005\uff0c\u4e00\u8d77\u7528\u58f0\u97f3\u6765\u8868\u8fbe\uff0c\u5efa\u8bbe\u81ea\u5bb6\u6280\u672f\u5f71\u54cd\u529b\uff0c\u63a8\u52a8\u66f4\u9ad8\u7c98\u6027\u3001\u66f4\u6df1\u4e92\u8054\u3001\u66f4\u6301\u4e45\u5171\u9e23\u7684\u7528\u6237\u793e\u533a\u6784\u5efa\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"127\" height=\"1024\" src=\"https:\/\/cdn2.wavpub.com\/hosting.wavpub.cn\/wp-content\/uploads\/sites\/48\/2023\/12\/2-1-127x1024.png\" alt=\"\" class=\"wp-image-81\" srcset=\"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-content\/uploads\/sites\/48\/2023\/12\/2-1-127x1024.png 127w, https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-content\/uploads\/sites\/48\/2023\/12\/2-1-768x6197.png 768w, https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-content\/uploads\/sites\/48\/2023\/12\/2-1-254x2048.png 254w, https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-content\/uploads\/sites\/48\/2023\/12\/2-1-624x5035.png 624w, https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-content\/uploads\/sites\/48\/2023\/12\/2-1.png 1080w\" sizes=\"(max-width: 127px) 100vw, 127px\" \/><\/figure>\n<div class=\"powerpress_player\" id=\"powerpress_player_1636\"><!--[if lt IE 9]><script>document.createElement('audio');<\/script><![endif]-->\n<audio class=\"wp-audio-shortcode\" id=\"audio-88-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/mpeg\" src=\"https:\/\/cdn2.wavpub.com\/hosting.wavpub.cn\/wp-content\/uploads\/sites\/48\/2023\/12\/webworker-you.mp3?_=1\" \/><a href=\"https:\/\/cdn2.wavpub.com\/hosting.wavpub.cn\/wp-content\/uploads\/sites\/48\/2023\/12\/webworker-you.mp3\">https:\/\/cdn2.wavpub.com\/hosting.wavpub.cn\/wp-content\/uploads\/sites\/48\/2023\/12\/webworker-you.mp3<\/a><\/audio><\/div><p class=\"powerpress_links powerpress_links_mp3\">Podcast: <a href=\"https:\/\/cdn2.wavpub.com\/hosting.wavpub.cn\/wp-content\/uploads\/sites\/48\/2023\/12\/webworker-you.mp3\" class=\"powerpress_link_pinw\" target=\"_blank\" title=\"Play in new window\" onclick=\"return powerpress_pinw('https:\/\/hosting.wavpub.cn\/tech-podfest\/?powerpress_pinw=88-podcast');\" rel=\"nofollow\">Play in new window<\/a> | <a href=\"https:\/\/cdn2.wavpub.com\/hosting.wavpub.cn\/wp-content\/uploads\/sites\/48\/2023\/12\/webworker-you.mp3\" class=\"powerpress_link_d\" title=\"Download\" rel=\"nofollow\" download=\"webworker-you.mp3\">Download<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u4ecb\u7ecd \u672c\u671f\u64ad\u5ba2\u662f\u53c2\u4e0e #2023\u6280\u672f\u64ad\u5ba2\u8282 \u5171\u521b\u5171\u5efa\u7684\u4e00\u671f\u5185\u5bb9\u300212\u67084\u65e5\u81f38\u65e5\uff0c\u6bcf\u5929\u56f4\u7ed5\u4e00\u4e2a\u4e3b\u9898\uff0c\u5e26\u67658\uff5e1 [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/posts\/88"}],"collection":[{"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":1,"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":89,"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/posts\/88\/revisions\/89"}],"wp:attachment":[{"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting.wavpub.cn\/tech-podfest\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}