{"id":3015,"date":"2020-08-26T15:29:37","date_gmt":"2020-08-26T07:29:37","guid":{"rendered":"http:\/\/www.yuguoxy.com\/geekhome\/?p=3015"},"modified":"2026-08-18T12:35:32","modified_gmt":"2026-08-18T04:35:32","slug":"%e7%a7%bb%e5%8a%a8%e7%ab%af%e7%94%a8vue%e8%bf%98%e6%98%afreact%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=3015","title":{"rendered":"\u79fb\u52a8\u7aef\u7528vue\u8fd8\u662freact\uff1f"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: #000000; caret-color: #000000;\" data-provider=\"WenYan\">\n<p style=\"margin: 1em 0px;\">\u79fb\u52a8\u7aef\u5230\u5e95\u7528 <strong style=\"color: #4870ac;\">Vue<\/strong> \u8fd8\u662f <strong style=\"color: #4870ac;\">React<\/strong>\uff1f\u6ca1\u6709\u7edd\u5bf9\u8d62\u5bb6\u3002\u8fd1\u51e0\u5e74\u524d\u7aef\u6846\u67b6\u5df2\u6210\u4e09\u8db3\u9f0e\u7acb\uff1aReact \u548c Vue \u5728\u56fd\u5185\u52bf\u5934\u90fd\u5f3a\uff0c\u9009\u54ea\u4e2a\u66f4\u53d6\u51b3\u4e8e\u56e2\u961f\u79ef\u7d2f\u3001\u8981\u4e0d\u8981\u5199\u539f\u751f\u3001\u4ee5\u53ca\u9879\u76ee\u590d\u6742\u5ea6\u3002<\/p>\n<p style=\"margin: 1em 0px;\">Vue \u548c React \u7684\u6838\u5fc3\u90fd\u662f\u8f7b\u91cf\u89c6\u56fe\u5c42\uff1a\u5148\u7ed9\u4f60\u4e00\u7ec4\u6838\u5fc3\u80fd\u529b\uff0c\u590d\u6742\u4e86\u518d\u52a0\u8def\u7531\u3001\u518d\u52a0\u72b6\u6001\u7ba1\u7406\u3002 \u6846\u67b6\u662f\u5728\u5de5\u7a0b\u91cc\u62bd\u51fa\u5df2\u7ecf\u9a8c\u8bc1\u8fc7\u7684\u6a21\u5f0f\uff1b\u9009\u592a\u91cd\u4f1a\u6740\u9e21\u7528\u725b\u5200\uff0c\u9009\u592a\u7b80\u4f1a\u5728\u5927\u578b\u9879\u76ee\u91cc\u62d6\u6162\u534f\u4f5c\u3002<\/p>\n<p style=\"margin: 1em 0px;\"><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/08\/5e6f5f8524b2a178.jpg\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3017\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2020\/08\/5e6f5f8524b2a178.jpg\" alt=\"5e6f5f8524b2a178\" width=\"800\" height=\"320\" \/><\/a><\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e00\u3001\u4e09\u6761\u79fb\u52a8\u7aef\u8def\u5f84<\/h2>\n<p style=\"margin: 1em 0px;\">\u60f3\u505a App\uff0c\u4e09\u5bb6\u90fd\u6709\u5bf9\u5e94\u65b9\u6848\uff1a<\/p>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section><strong style=\"color: #4870ac;\">React \/ React Native<\/strong>\uff1a\u76ee\u524d\u6700\u6d41\u884c\u7684\u8de8\u5e73\u53f0\u65b9\u6848\u4e4b\u4e00\u3002\u5171\u4eab\u7684\u4e3b\u8981\u662f UI \u5c42\uff0c\u5927\u7ea6\u516b\u6210\uff0c\u5176\u4f59\u4ecd\u8981\u61c2\u4e00\u4e9b\u539f\u751f\u3002<\/section>\n<\/li>\n<li>\n<section><strong style=\"color: #4870ac;\">Vue \/ Weex<\/strong>\uff1a\u601d\u8def\u63a5\u8fd1 RN\uff0c\u540c\u6837\u9700\u8981\u7406\u89e3\u4e00\u90e8\u5206\u539f\u751f\u80fd\u529b\u3002<\/section>\n<\/li>\n<li>\n<section><strong style=\"color: #4870ac;\">Angular \/ Ionic<\/strong>\uff1a\u504f hybrid\uff0c\u5bf9\u539f\u751f\u8981\u6c42\u4f4e\uff0c\u51e0\u4e4e\u7528\u524d\u7aef\u77e5\u8bc6\u5c31\u80fd\u5f00\u5de5\uff1bTypeScript \u5199\u8d77\u6765\u7a33\u3002Ionic3 + Angular5 \u6027\u80fd\u5df2\u7ecf\u53ef\u7528\uff0c\u77ed\u677f\u662f\u4e2d\u6587\u8d44\u6599\u5c11\uff0c\u6848\u4f8b\u591a\u5728\u5b98\u7f51\u548c Stack Overflow\u3002<\/section>\n<\/li>\n<\/ul>\n<table style=\"display: table; text-align: left; overflow: auto; border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; overflow-wrap: break-word; word-break: break-all;\" width=\"800\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u65b9\u6848<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u8de8\u5e73\u53f0\u65b9\u5f0f<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u5bf9\u539f\u751f\u7684\u8981\u6c42<\/th>\n<th style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top; text-align: center; font-weight: bold; color: #4870ac; background: #f7f7f7;\">\u4e0a\u624b\u89c2\u611f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">React Native<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">JS \u9a71\u52a8\u539f\u751f\u63a7\u4ef6\uff0cUI \u7ea6 80% \u53ef\u590d\u7528<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u9700\u8981\u4e00\u5b9a\u539f\u751f\u80fd\u529b<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u751f\u6001\u6700\u5927\uff0c\u65b9\u6848\u591a\u5230\u8981\u53d6\u820d<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Weex\uff08Vue\uff09<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u7c7b\u4f3c RN \u7684\u539f\u751f\u6e32\u67d3<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u540c\u6837\u8981\u61c2\u4e00\u4e9b\u539f\u751f<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u4f1a Vue \u7684\u56e2\u961f\u8fc1\u79fb\u6210\u672c\u4f4e<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">Ionic\uff08Angular\uff09<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">WebView \/ hybrid<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u51e0\u4e4e\u53ef\u5f53\u7eaf\u524d\u7aef<\/td>\n<td style=\"border: 1px solid #d9dfe4; padding: 9px 12px; font-size: 0.75em; line-height: 22px; vertical-align: top;\">\u6587\u6863\u504f\u82f1\u6587\uff0c\u56fd\u5185\u6848\u4f8b\u5c11<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e8c\u3001\u6ca1\u6709\u597d\u574f\uff0c\u53ea\u6709\u662f\u5426\u5339\u914d<\/h2>\n<p style=\"margin: 1em 0px;\">\u53ea\u6c42\u5c3d\u5feb\u51fa\u6d3b\uff0cVue \u901a\u5e38\u66f4\u597d\u4e0a\u624b\u3002React \u793e\u533a\u975e\u5e38\u6d3b\u8dc3\uff0c\u9ad8\u5cf0\u65f6\u4e09\u5929\u4e00\u4e2a\u7248\u672c\uff0c\u540c\u4e00\u95ee\u9898\u53ef\u80fd\u6709\u51e0\u5341\u79cd\u89e3\u6cd5\uff0c\u9700\u8981\u81ea\u5df1\u505a\u51cf\u6cd5\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u4e24\u8005\u90fd\u4e0d\u4f1a\u5728\u7b2c\u4e00\u5929\u585e\u7ed9\u4f60\u5168\u5957\u811a\u624b\u67b6\uff1a\u5355\u9875\u624d\u52a0\u8def\u7531\uff1b\u591a\u7ec4\u4ef6\u5171\u4eab\u72b6\u6001\u3001\u591a\u4eba\u534f\u4f5c\u624d\u4e0a\u5927\u89c4\u6a21\u72b6\u6001\u7ba1\u7406\u3002 \u6846\u67b6\u5b58\u5728\u662f\u4e3a\u4e86\u5339\u914d\u590d\u6742\u5ea6\u2014\u2014\u5927\u578b\u9879\u76ee\u7528\u7b80\u964b\u5de5\u5177\u4f1a\u4f24\u751f\u4ea7\u529b\uff1b\u5c0f\u578b\u9700\u6c42\u5957\u91cd\u6846\u67b6\uff0c\u5b66\u4e60\u6210\u672c\u548c\u526f\u4f5c\u7528\u4f1a\u628a\u4f18\u52bf\u5403\u6389\u3002<\/p>\n<h2 style=\"padding: 1px 12.5px; color: #ffffff; margin: 1.2em 0px 1em; border-radius: 4px; display: inline-block; background-color: #4870ac; font-size: 1.3em;\">\u4e09\u3001\u600e\u4e48\u505a\u9009\u62e9<\/h2>\n<p style=\"margin: 1em 0px;\">\u5148\u770b\u56e2\u961f\u4f1a\u4ec0\u4e48\uff0c\u518d\u770b\u8981\u4e0d\u8981\u4e0a\u67b6\u539f\u751f\u5546\u5e97\u3001\u8981\u4e0d\u8981\u6df1\u5ea6\u8c03\u7528\u76f8\u673a\u548c\u63a8\u9001\u3002\u627e\u4e0d\u5230\u300c\u5b8c\u5168\u7b26\u5408\u9700\u6c42\u300d\u7684\u6846\u67b6\u5f88\u6b63\u5e38\uff0c\u91cd\u8981\u7684\u662f\u8d34\u5408\u5f53\u524d\u9879\u76ee\u3002 \u4ee5\u540e\u66f4\u53ef\u80fd\u662f\u5c0f\u800c\u7cbe\u7684\u6838\u5fc3\uff0c\u52a0\u4e0a\u751f\u6001\u91cc\u7684\u9644\u52a0\u5e93\u3002\u8ddf\u4e0a\u53d8\u5316\u672c\u8eab\u5c31\u662f\u524d\u7aef\u8fd9\u884c\u7684\u4e00\u90e8\u5206\u4e50\u8da3\u3002<\/p>\n<blockquote style=\"display: block; font-size: 0.9em; border-left: 3px solid #4870ac; padding: 0.5em 1em; margin: 0px; background: #f6f8fa; color: #40464f;\">\n<p style=\"margin: 1em 0px;\"><strong style=\"color: #4870ac;\">\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a\u79fb\u52a8\u7aef\u9009 Vue \u8fd8\u662f React\uff0c\u770b\u56e2\u961f\u6808\u548c\u539f\u751f\u6295\u5165\uff1a\u6c42\u5feb\u7528 Vue\uff0c\u6c42\u8de8\u7aef\u751f\u6001\u7528 React Native\uff0c\u6ca1\u6709\u653e\u4e4b\u56db\u6d77\u90fd\u6b63\u786e\u7684\u7b54\u6848\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u79fb\u52a8\u7aef\u5230\u5e95\u7528 Vue \u8fd8\u662f React\uff1f\u6ca1\u6709\u7edd\u5bf9\u8d62\u5bb6\u3002\u8fd1\u51e0\u5e74\u524d\u7aef\u6846\u67b6\u5df2\u6210\u4e09\u8db3\u9f0e\u7acb\uff1aReact \u548c Vue \u5728\u56fd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[112],"tags":[150],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3015"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3015"}],"version-history":[{"count":2,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3015\/revisions"}],"predecessor-version":[{"id":3018,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3015\/revisions\/3018"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}