{"id":25,"date":"2026-01-05T07:54:33","date_gmt":"2026-01-04T23:54:33","guid":{"rendered":"http:\/\/122.152.212.190:8081\/?p=25"},"modified":"2026-01-05T07:54:33","modified_gmt":"2026-01-04T23:54:33","slug":"1%ef%bc%89%e4%bd%bf%e7%94%a8vue3%e5%bc%80%e5%8f%91%e6%a1%8c%e9%9d%a2%e5%ba%94%e7%94%a8%e7%a8%8b%e5%ba%8f-%e5%b8%b8%e8%a7%81%e8%b7%af%e7%ba%bf","status":"publish","type":"post","link":"https:\/\/blog.tooo-studio.fun\/?p=25","title":{"rendered":"1\uff09\u4f7f\u7528Vue3\u5f00\u53d1\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u2014\u2014\u5e38\u89c1\u8def\u7ebf"},"content":{"rendered":"\n<p>Vue\u4e0d\u662f\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u6846\u67b6\uff0c\u4f46\u5f88\u9002\u5408\u4f5c\u4e3a\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u7684\u754c\u9762\u5c42\uff0c\u76ee\u524d\u770b\u5230\u7684\u591a\u6570\u7531Vue\u5f00\u53d1\u7684\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0c\u662fWeb\u6280\u672f\uff08Vue\/React\uff09+\u684c\u9762\u58f3\u5b9e\u73b0\u7684\u3002\u4ee5\u4e0b\u662f\u5e38\u89c1\u8def\u7ebf\uff1a<\/p>\n\n\n\n<p><strong>1.Vue+Electron<\/strong><\/p>\n\n\n\n<p>\u6700\u4e3b\u6d41\u7684\u7ec4\u5408\uff0cElectron\u7684\u672c\u8d28\u662f\u628aChromium+Node.js\u6253\u5305\u6210\u4e00\u4e2a\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0cVue\u8d1f\u8d23UI\u3002\u4f18\u70b9\u662f\u751f\u6001\u6210\u719f\u3001\u8de8\u5e73\u53f0\uff08Mac\u3001Windows\u3001Linux\uff09\uff0c\u7f3a\u70b9\u662f\u4f53\u79ef\u5927\u3001\u5185\u5b58\u5360\u7528\u7387\u504f\u9ad8\uff08\u56e0\u4e3a\u5e26\u4e86\u6d4f\u89c8\u5668\u5185\u6838\uff09\u3002<\/p>\n\n\n\n<p><strong>2.Vue+Tauri<\/strong><\/p>\n\n\n\n<p>\u66f4\u8f7b\u91cf\u3001\u66f4\u6709\u70ed\u5ea6\u3001\u66f4\u73b0\u4ee3\uff0cTauri\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u7684\u6d4f\u89c8\u5668\u5185\u6838\u6e32\u67d3\u754c\u9762\uff0c\u4f8b\u5982\u5728Windows\u4e0a\u4f7f\u7528Webview 2\uff0c\u540e\u7aef\u662fRust\uff0c\u53ef\u4ee5\u901a\u8fc7\u63d2\u4ef6\u6216\u547d\u4ee4\u6269\u5c55\u3002\u4f18\u70b9\u662f\u4f53\u79ef\u5c0f\u3001\u5360\u7528\u7387\u4f4e\u3001\u5b89\u5168\u6a21\u578b\u66f4\u4e25\u683c\uff0c\u7f3a\u70b9\u662f\u6709\u4e9b\u80fd\u529b\u8981\u4f9d\u8d56\u63d2\u4ef6\uff0c\u751f\u6001\u6bd4Electron\u597d\u4e00\u70b9\uff0c\u4e0d\u8fc7\u6e10\u6e10\u5728\u53d8\u597d\u4e86\u3002<\/p>\n\n\n\n<p><strong>3.Vue+.NET<\/strong><\/p>\n\n\n\n<p>\u8fd9\u91cc\u6709\u4e24\u79cd\u5e38\u89c1\u505a\u6cd5\uff1a<\/p>\n\n\n\n<p><strong>1)Webview 2\u4f5c\u4e3a\u5bbf\u4e3b<\/strong><\/p>\n\n\n\n<p>\u7528Winforms\/WPF\/WinUI\u505a\u4e00\u4e2a\u58f3\uff0c\u91cc\u9762\u5d4c\u5165Webview\uff0c\u628aVue\u9875\u9762\u5f53\u4f5cUI\u6e32\u67d3\u3002\u7a0b\u5e8f\u4f9d\u7136\u662f.NET\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u7684\u7ed3\u6784\uff08\u7a97\u53e3\u7ba1\u7406\u3001\u7cfb\u7edf\u96c6\u6210\uff09\uff0cUI\u7528Vue\u505a\uff0c\u5ba1\u7f8e\u548c\u6548\u7387\u90fd\u9ad8\u3002<\/p>\n\n\n\n<p><strong>2)Blazor Hybird<\/strong><\/p>\n\n\n\n<p>\u9002\u5408\u60f3\u8981.NET\u751f\u6001\u3001\u73b0\u4ee3UI\u3001\u66f4\u613f\u610f\u4f7f\u7528\u524d\u7aef\u6808\u5f00\u53d1\u7684\u4eba\uff0cBlazor Hybrid\uff08MAUI\uff09\u4e5f\u662f&#8221;WebUI+\u539f\u58f0\u58f3&#8221;\u7684\u8def\u7ebf\u3002<\/p>\n\n\n\n<p><strong>4.Vue+Neutralion\/Wails<\/strong><\/p>\n\n\n\n<p>\u76f8\u5bf9\u5c0f\u4f17\uff0cNentralion\u76f8\u5f53\u4e8e\u6781\u7b80Electron\uff0cWails \u66f4\u504f\u5411\u4e8eGO\u540e\u7aef+Web\u524d\u7aef\u3002\u770b\u6280\u672f\u56e2\u961f\u7684\u6280\u672f\u6808\u51b3\u5b9a\u3002<\/p>\n\n\n\n<p><strong>\u9009\u578b\u95ee\u9898<\/strong><\/p>\n\n\n\n<p>\u7b2c\u4e00\uff0c\u9009\u4ec0\u4e48\u201c\u684c\u9762\u58f3\u201d<br>\u5982\u679c\u4f60\u8ffd\u6c42\u201c\u6700\u7701\u8111\u5b50\u3001\u8d44\u6599\u6700\u591a\u3001\u8d44\u6599\u6700\u597d\u641c\u201d\uff0c\u9009 Electron\uff0c\u5bf9\u65b0\u624b\u6700\u53cb\u597d\u3002\u5982\u679c\u4f60\u8ffd\u6c42\u201c\u8f7b\u3001\u4f53\u79ef\u5c0f\u3001\u8d44\u6e90\u5360\u7528\u4f4e\u201d\uff0c\u9009 Tauri\uff08WebView2\/\u7cfb\u7edf WebView\uff09\u3002\u4f46\u5b83\u5728\u67d0\u4e9b\u7cfb\u7edf\u80fd\u529b\u548c\u63d2\u4ef6\u751f\u6001\u4e0a\u4f1a\u591a\u4e00\u70b9\u5de5\u7a0b\u6210\u672c\u3002<br>\u5982\u679c\u4f60\u8ffd\u6c42\u201c\u6700\u50cf WinForms \u7684\u65b9\u5f0f\u201d\uff0c\u7528 .NET + WebView2 \u5bbf\u4e3b\u3002<\/p>\n\n\n\n<p>\u7b2c\u4e8c\uff0cVue \u8fd9\u8fb9\u7528\u4ec0\u4e48<br>\u8981\u7b80\u5355\uff1aVue 3 + Vite \u5c31\u591f\u4e86\u3002Nuxt \u4e0d\u4e00\u5b9a\uff0c\u9664\u975e\u4f60\u771f\u7684\u9700\u8981 Nuxt \u7684\u7ea6\u5b9a\u548c\u6a21\u5757\u751f\u6001\uff0c\u7279\u522b\u662f\u5982\u679c\u4f60\u9700\u8981\u8fdb\u884c\u670d\u52a1\u7aef\u6e32\u67d3\uff08SSR\uff09\u6216\u9759\u6001\u7ad9\u70b9\u751f\u6210\uff08SSG\uff09\uff0c\u6216\u8005\u9700\u8981 Nuxt \u63d0\u4f9b\u7684\u5168\u5c40\u914d\u7f6e\u3001\u81ea\u52a8\u8def\u7531\u3001\u6a21\u5757\u5316\u7cfb\u7edf\u7b49\u529f\u80fd\u3002\u5426\u5219\uff0cVite + Vue 3 \u8db3\u591f\u6ee1\u8db3\u5927\u591a\u6570\u684c\u9762\u5e94\u7528\u7684\u9700\u6c42\uff0c\u7279\u522b\u662f\u5728\u5f00\u53d1\u4f53\u9a8c\u548c\u6784\u5efa\u901f\u5ea6\u65b9\u9762\u975e\u5e38\u51fa\u8272\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Vue\u4e0d\u662f\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u6846\u67b6\uff0c\u4f46\u5f88\u9002\u5408\u4f5c\u4e3a\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\u7684\u754c\u9762\u5c42\uff0c\u76ee\u524d\u770b\u5230\u7684\u591a\u6570\u7531Vue\u5f00\u53d1\u7684\u684c\u9762\u5e94\u7528\u7a0b\u5e8f\uff0c\u662fWe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25"}],"version-history":[{"count":1,"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions"}],"predecessor-version":[{"id":26,"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions\/26"}],"wp:attachment":[{"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.tooo-studio.fun\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}