{"id":38593,"date":"2025-05-20T17:43:56","date_gmt":"2025-05-20T09:43:56","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/38593.html"},"modified":"2025-05-20T17:43:56","modified_gmt":"2025-05-20T09:43:56","slug":"trae%e6%8f%92%e4%bb%b6builder%e6%a8%a1%e5%bc%8f%e6%b7%b1%e5%ba%a6%e6%b5%8b%e8%af%84%ef%bc%9a%e4%bb%8e%e7%bc%96%e7%a8%8b%e5%8a%a9%e6%89%8b%e5%88%b0ai%e5%b7%a5%e7%a8%8b%e5%b8%88%e7%9a%84%e8%bf%9b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/38593.html","title":{"rendered":"Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316"},"content":{"rendered":"<p id=\"main-toc\">\u76ee\u5f55<\/p>\n<p id=\"-toc\" style=\"margin-left:40px\">\n<p id=\"Z1BU7-toc\" style=\"margin-left:40px\">\u5f15\u8a00<\/p>\n<p id=\"NvSS8-toc\" style=\"margin-left:40px\">\u4e00\u3001Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6982\u8ff0<\/p>\n<p id=\"T6RH9-toc\" style=\"margin-left:80px\">1.1 \u4ec0\u4e48\u662fBuilder\u6a21\u5f0f<\/p>\n<p id=\"jj4yE-toc\" style=\"margin-left:80px\">1.2 \u652f\u6301\u73af\u5883<\/p>\n<p id=\"r5z77-toc\" style=\"margin-left:40px\">\u4e8c\u3001Builder\u6a21\u5f0f\u6838\u5fc3\u529f\u80fd\u6d4b\u8bc4<\/p>\n<p id=\"MyyPC-toc\" style=\"margin-left:80px\">2.1 \u81ea\u7136\u8bed\u8a00\u9879\u76ee\u521d\u59cb\u5316<\/p>\n<p id=\"ruKU0-toc\" style=\"margin-left:80px\">2.2 \u667a\u80fd\u9879\u76ee\u67b6\u6784\u8bbe\u8ba1<\/p>\n<p id=\"xe5Sh-toc\" style=\"margin-left:80px\">2.3 \u591a\u6587\u4ef6\u534f\u8c03\u4ee3\u7801\u751f\u6210<\/p>\n<p id=\"RVjZQ-toc\" style=\"margin-left:40px\">\u4e09\u3001Builder\u6a21\u5f0f\u6280\u672f\u6df1\u5ea6\u89e3\u6790<\/p>\n<p id=\"nBUOP-toc\" style=\"margin-left:80px\">3.1 \u67b6\u6784\u5b9e\u73b0\u539f\u7406<\/p>\n<p id=\"XABfc-toc\" style=\"margin-left:80px\">3.2 \u4ee3\u7801\u8d28\u91cf\u8bc4\u4f30<\/p>\n<p id=\"CD6qh-toc\" style=\"margin-left:40px\">\u56db\u3001\u5b9e\u9645\u9879\u76ee\u6784\u5efa\u6848\u4f8b<\/p>\n<p id=\"g2OKJ-toc\" style=\"margin-left:80px\">4.1 \u7535\u5b50\u5546\u52a1\u7f51\u7ad9\u6784\u5efa<\/p>\n<p id=\"NcgFQ-toc\" style=\"margin-left:40px\">\u4e94\u3001Builder\u6a21\u5f0f\u7684\u4f18\u52bf\u4e0e\u5c40\u9650<\/p>\n<p id=\"Cw7AR-toc\" style=\"margin-left:80px\">5.1 \u663e\u8457\u4f18\u52bf<\/p>\n<p id=\"Pm7xH-toc\" style=\"margin-left:80px\">5.2 \u5f53\u524d\u5c40\u9650<\/p>\n<p id=\"QMkfE-toc\" style=\"margin-left:40px\">\u516d\u3001\u4e0e\u5176\u4ed6\u5de5\u5177\u5bf9\u6bd4<\/p>\n<p id=\"m0mRQ-toc\" style=\"margin-left:40px\">\u4e03\u3001\u4f7f\u7528\u5efa\u8bae\u4e0e\u6700\u4f73\u5b9e\u8df5<\/p>\n<p id=\"VSz6g-toc\" style=\"margin-left:80px\">7.1 \u6709\u6548\u4f7f\u7528Builder\u6a21\u5f0f\u7684\u6280\u5de7<\/p>\n<p id=\"kT9e3-toc\" style=\"margin-left:80px\">7.2 \u96c6\u6210\u5230\u73b0\u6709\u5de5\u4f5c\u6d41<\/p>\n<p id=\"zZWZ1-toc\" style=\"margin-left:40px\">\u516b\u3001\u672a\u6765\u53d1\u5c55\u65b9\u5411<\/p>\n<p id=\"jGAIP-toc\" style=\"margin-left:40px\">\u7ed3\u8bba<\/p>\n<p id=\"v0Awq-toc\" style=\"margin-left:40px\">\u53c2\u8003\u8d44\u6599<\/p>\n<hr id=\"hr-toc\" \/>\n<h3 id=\"Z1BU7\">\u5f15\u8a00<\/h3>\n<p>Trae\u5b98\u7f51&#xff1a;Trae &#8211; \u63d2\u4ef6<\/p>\n<p>Trae\u63d2\u4ef6\u4e0b\u8f7d\u94fe\u63a5&#xff1a;https:\/\/lf-cdn.trae.com.cn\/obj\/trae-com-cn\/pkg\/app\/releases\/stable\/1.0.12804\/win32\/Trae%20CN-Setup-x64.exe<\/p>\n<p id=\"u9c3fa575\">\u5728\u5f53\u4eca\u5feb\u901f\u53d1\u5c55\u7684\u8f6f\u4ef6\u5f00\u53d1\u9886\u57df&#xff0c;AI\u8f85\u52a9\u7f16\u7a0b\u5de5\u5177\u6b63\u9010\u6e10\u6210\u4e3a\u5f00\u53d1\u8005\u4e0d\u53ef\u6216\u7f3a\u7684\u4f19\u4f34\u3002Trae\u63d2\u4ef6&#xff08;\u539fMarsCode\u7f16\u7a0b\u52a9\u624b&#xff09;\u6700\u65b0\u63a8\u51fa\u7684Builder\u6a21\u5f0f&#xff0c;\u6807\u5fd7\u7740\u8fd9\u7c7b\u5de5\u5177\u4ece\u7b80\u5355\u7684\u4ee3\u7801\u8865\u5168\u52a9\u624b\u5411&#034;AI\u5de5\u7a0b\u5e08&#034;\u89d2\u8272\u7684\u91cd\u5927\u8f6c\u53d8\u3002\u672c\u6587\u5c06\u5168\u9762\u6d4b\u8bc4Trae\u63d2\u4ef6\u7684Builder\u6a21\u5f0f&#xff0c;\u63a2\u7d22\u5b83\u5982\u4f55\u5e2e\u52a9\u5f00\u53d1\u8005\u4ece\u96f6\u5f00\u59cb\u6784\u5efa\u5b8c\u6574\u9879\u76ee\u3002<\/p>\n<h3 id=\"NvSS8\">\u4e00\u3001Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6982\u8ff0<\/h3>\n<h4 id=\"T6RH9\">1.1 \u4ec0\u4e48\u662fBuilder\u6a21\u5f0f<\/h4>\n<p id=\"u4382caa0\">Builder\u6a21\u5f0f\u662fTrae\u63d2\u4ef6\u6700\u65b0\u5f15\u5165\u7684\u9879\u76ee\u7ea7\u5f00\u53d1\u529f\u80fd&#xff0c;\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u4f7f\u7528\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\u9879\u76ee\u9700\u6c42&#xff0c;\u7531AI\u81ea\u52a8\u751f\u6210\u5b8c\u6574\u7684\u9879\u76ee\u7ed3\u6784\u3001\u4ee3\u7801\u6587\u4ef6\u548c\u5f00\u53d1\u6d41\u7a0b\u3002\u4e0e\u4f20\u7edf\u4ee3\u7801\u8865\u5168\u4e0d\u540c&#xff0c;Builder\u6a21\u5f0f\u80fd\u591f&#xff1a;<\/p>\n<ul>\n<li id=\"udc1b1835\">\u7406\u89e3\u590d\u6742\u9879\u76ee\u9700\u6c42<\/li>\n<li id=\"u311480f1\">\u8bbe\u8ba1\u5408\u7406\u7684\u9879\u76ee\u67b6\u6784<\/li>\n<li id=\"u6df3f441\">\u751f\u6210\u591a\u6587\u4ef6\u534f\u8c03\u5de5\u4f5c\u7684\u4ee3\u7801<\/li>\n<li id=\"u8b0694bd\">\u63d0\u4f9b\u6301\u7eed\u8fed\u4ee3\u7684\u5f00\u53d1\u5efa\u8bae<\/li>\n<\/ul>\n<h4 id=\"jj4yE\">1.2 \u652f\u6301\u73af\u5883<\/h4>\n<p id=\"uc296ef4c\">Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u76ee\u524d\u652f\u6301&#xff1a;<\/p>\n<ul>\n<li id=\"u7b9a7d25\">VS Code&#xff08;1.70&#043;\u7248\u672c&#xff09;<\/li>\n<li id=\"u6f8f65d9\">JetBrains\u5168\u7cfb\u5217IDE&#xff08;IntelliJ IDEA, PyCharm, WebStorm\u7b49&#xff09;<\/li>\n<li id=\"u5a0fa2b4\">\u5728\u7ebfWeb\u7248\u672c<\/li>\n<\/ul>\n<h3 id=\"r5z77\">\u4e8c\u3001Builder\u6a21\u5f0f\u6838\u5fc3\u529f\u80fd\u6d4b\u8bc4<\/h3>\n<h4 id=\"MyyPC\">2.1 \u81ea\u7136\u8bed\u8a00\u9879\u76ee\u521d\u59cb\u5316<\/h4>\n<p id=\"u8afe3ba9\">Builder\u6a21\u5f0f\u6700\u663e\u8457\u7684\u7279\u70b9\u662f\u80fd\u591f\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\u6765\u521d\u59cb\u5316\u9879\u76ee\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b9e\u9645\u4f7f\u7528\u793a\u4f8b&#xff1a;<\/p>\n<p># \u7528\u6237\u8f93\u5165\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0&#xff1a;<br \/>\n&#034;\u521b\u5efa\u4e00\u4e2aPython Flask Web\u5e94\u7528&#xff0c;\u5b9e\u73b0\u7528\u6237\u6ce8\u518c\u767b\u5f55\u529f\u80fd&#xff0c;\u4f7f\u7528SQLite\u6570\u636e\u5e93\u5b58\u50a8\u6570\u636e&#xff0c;\u524d\u7aef\u4f7f\u7528Bootstrap5&#034;<\/p>\n<p># Trae Builder\u6a21\u5f0f\u7684\u54cd\u5e94&#xff1a;<br \/>\n1. \u521b\u5efa\u9879\u76ee\u7ed3\u6784&#xff1a;<br \/>\n   &#8211; app\/<br \/>\n     &#8211; __init__.py       # Flask\u5e94\u7528\u521d\u59cb\u5316<br \/>\n     &#8211; routes.py         # \u8def\u7531\u5b9a\u4e49<br \/>\n     &#8211; models.py         # \u6570\u636e\u6a21\u578b<br \/>\n     &#8211; templates\/        # \u524d\u7aef\u6a21\u677f<br \/>\n     &#8211; static\/           # \u9759\u6001\u6587\u4ef6<br \/>\n   &#8211; config.py           # \u914d\u7f6e\u6587\u4ef6<br \/>\n   &#8211; requirements.txt    # \u4f9d\u8d56\u5217\u8868<\/p>\n<p>2. \u751f\u6210\u6838\u5fc3\u4ee3\u7801\u6587\u4ef6<br \/>\n3. \u63d0\u4f9b\u5f00\u53d1\u8def\u7ebf\u56fe\u5efa\u8bae <\/p>\n<p id=\"u492f3edc\">\u56fe1&#xff1a;Builder\u6a21\u5f0f\u9879\u76ee\u521d\u59cb\u5316\u6d41\u7a0b\u56fe<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1916\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250520094353-682c4ed911e8b.png\" width=\"1472\" \/><\/p>\n<p id=\"u492f3edc\"> \u56fe1\u5c55\u793a\u4e86Builder\u6a21\u5f0f\u5982\u4f55\u5c06\u81ea\u7136\u8bed\u8a00\u9700\u6c42\u8f6c\u5316\u4e3a\u5b9e\u9645\u9879\u76ee\u7ed3\u6784\u7684\u8fc7\u7a0b<\/p>\n<h4 id=\"ruKU0\">2.2 \u667a\u80fd\u9879\u76ee\u67b6\u6784\u8bbe\u8ba1<\/h4>\n<p id=\"udff3b4d5\">Builder\u6a21\u5f0f\u80fd\u591f\u6839\u636e\u9879\u76ee\u7c7b\u578b\u81ea\u52a8\u9009\u62e9\u5408\u9002\u7684\u6280\u672f\u6808\u548c\u67b6\u6784\u6a21\u5f0f\u3002\u6211\u4eec\u6d4b\u8bd5\u4e86\u4e0d\u540c\u7c7b\u578b\u7684\u9879\u76ee&#xff1a;<\/p>\n<table id=\"JKdTd\">\n<tbody>\n<tr>\n<td>\n<p id=\"ua24dddce\">\u9879\u76ee\u7c7b\u578b<\/p>\n<\/td>\n<td>\n<p id=\"ue2e88108\">\u63a8\u8350\u6280\u672f\u6808<\/p>\n<\/td>\n<td>\n<p id=\"u9a984a94\">\u67b6\u6784\u6a21\u5f0f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"u62886129\">Web\u5e94\u7528<\/p>\n<\/td>\n<td>\n<p id=\"u50cfa490\">Flask\/Django &#043; Bootstrap<\/p>\n<\/td>\n<td>\n<p id=\"u12361180\">MVC<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"u2d2772c3\">\u6570\u636e\u5206\u6790<\/p>\n<\/td>\n<td>\n<p id=\"ub433a2a7\">Pandas &#043; Matplotlib<\/p>\n<\/td>\n<td>\n<p id=\"ua149c5c8\">\u7ba1\u9053\u6a21\u5f0f<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"u8b89bbdd\">\u5fae\u670d\u52a1<\/p>\n<\/td>\n<td>\n<p id=\"u1afdccd5\">FastAPI &#043; Docker<\/p>\n<\/td>\n<td>\n<p id=\"u217affe6\">\u670d\u52a1\u5bfc\u5411\u67b6\u6784(SOA)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"uee78a7d0\">\u79fb\u52a8\u5e94\u7528<\/p>\n<\/td>\n<td>\n<p id=\"ubfeabbe8\">React Native<\/p>\n<\/td>\n<td>\n<p id=\"u012ccb20\">\u7ec4\u4ef6\u5316\u67b6\u6784<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p id=\"ub44f5167\">\u56fe2&#xff1a;\u4e0d\u540c\u9879\u76ee\u7c7b\u578b\u7684\u67b6\u6784\u9009\u62e9\u793a\u610f\u56fe<\/p>\n<p id=\"ub44f5167\"><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"479\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250520094354-682c4eda17a0a.png\" width=\"544\" \/> \u56fe2\u5c55\u793a\u4e86Builder\u6a21\u5f0f\u9488\u5bf9\u4e0d\u540c\u9879\u76ee\u7c7b\u578b\u7684\u667a\u80fd\u67b6\u6784\u9009\u62e9\u80fd\u529b<\/p>\n<h4 id=\"xe5Sh\">2.3 \u591a\u6587\u4ef6\u534f\u8c03\u4ee3\u7801\u751f\u6210<\/h4>\n<p id=\"u3b203a88\">Builder\u6a21\u5f0f\u80fd\u591f\u751f\u6210\u76f8\u4e92\u5173\u8054\u7684\u591a\u4e2a\u4ee3\u7801\u6587\u4ef6&#xff0c;\u786e\u4fdd\u5b83\u4eec\u80fd\u591f\u534f\u540c\u5de5\u4f5c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2aReact\u524d\u7aef &#043; Node.js\u540e\u7aef\u7684\u793a\u4f8b&#xff1a;<\/p>\n<p>\/\/ \u524d\u7aef\u7ec4\u4ef6 (src\/components\/UserList.js)<br \/>\nimport React, { useEffect, useState } from &#039;react&#039;;<br \/>\nimport axios from &#039;axios&#039;;<\/p>\n<p>function UserList() {<br \/>\n  const [users, setUsers] &#061; useState([]);<\/p>\n<p>  \/\/ \u4e0e\u540e\u7aefAPI\u4ea4\u4e92<br \/>\n  useEffect(() &#061;&gt; {<br \/>\n    axios.get(&#039;\/api\/users&#039;)<br \/>\n      .then(response &#061;&gt; setUsers(response.data))<br \/>\n      .catch(error &#061;&gt; console.error(error));<br \/>\n  }, []);<\/p>\n<p>  return (<br \/>\n    &lt;div&gt;<br \/>\n      &lt;h2&gt;\u7528\u6237\u5217\u8868&lt;\/h2&gt;<br \/>\n      &lt;ul&gt;<br \/>\n        {users.map(user &#061;&gt; (<br \/>\n          &lt;li key&#061;{user.id}&gt;{user.name}&lt;\/li&gt;<br \/>\n        ))}<br \/>\n      &lt;\/ul&gt;<br \/>\n    &lt;\/div&gt;<br \/>\n  );<br \/>\n}<\/p>\n<p>export default UserList;<br \/>\n\/\/ \u540e\u7aefAPI\u8def\u7531 (server\/routes\/users.js)<br \/>\nconst express &#061; require(&#039;express&#039;);<br \/>\nconst router &#061; express.Router();<br \/>\nconst User &#061; require(&#039;..\/models\/User&#039;);<\/p>\n<p>\/\/ \u83b7\u53d6\u7528\u6237\u5217\u8868<br \/>\nrouter.get(&#039;\/users&#039;, async (req, res) &#061;&gt; {<br \/>\n  try {<br \/>\n    const users &#061; await User.find();<br \/>\n    res.json(users);<br \/>\n  } catch (err) {<br \/>\n    res.status(500).json({ message: err.message });<br \/>\n  }<br \/>\n});<\/p>\n<p>module.exports &#061; router;<br \/>\n\/\/ \u6570\u636e\u6a21\u578b (server\/models\/User.js)<br \/>\nconst mongoose &#061; require(&#039;mongoose&#039;);<\/p>\n<p>const userSchema &#061; new mongoose.Schema({<br \/>\n  name: String,<br \/>\n  email: { type: String, unique: true },<br \/>\n  password: String<br \/>\n});<\/p>\n<p>module.exports &#061; mongoose.model(&#039;User&#039;, userSchema); <\/p>\n<p id=\"ud3a5c1ca\">\u4e0a\u8ff0\u4ee3\u7801\u5c55\u793a\u4e86Builder\u6a21\u5f0f\u751f\u6210\u7684\u524d\u540e\u7aef\u4ea4\u4e92\u5b8c\u6574\u5b9e\u73b0&#xff0c;\u5305\u62ecReact\u7ec4\u4ef6\u3001Express\u8def\u7531\u548cMongoose\u6a21\u578b<\/p>\n<h3 id=\"RVjZQ\">\u4e09\u3001Builder\u6a21\u5f0f\u6280\u672f\u6df1\u5ea6\u89e3\u6790<\/h3>\n<h4 id=\"nBUOP\">3.1 \u67b6\u6784\u5b9e\u73b0\u539f\u7406<\/h4>\n<p id=\"ua056b0b8\">Builder\u6a21\u5f0f\u7684\u667a\u80fd\u6765\u6e90\u4e8e\u4ee5\u4e0b\u51e0\u4e2a\u6280\u672f\u7ec4\u4ef6\u7684\u534f\u540c\u5de5\u4f5c&#xff1a;<\/p>\n<li id=\"ua69732a4\">\u9700\u6c42\u7406\u89e3\u6a21\u5757&#xff1a;\u57fa\u4e8e\u5927\u8bed\u8a00\u6a21\u578b(LLM)\u7684\u81ea\u7136\u8bed\u8a00\u5904\u7406<\/li>\n<li id=\"u40d802ce\">\u6280\u672f\u51b3\u7b56\u5f15\u64ce&#xff1a;\u77e5\u8bc6\u56fe\u8c31\u9a71\u52a8\u7684\u6280\u672f\u6808\u9009\u62e9<\/li>\n<li id=\"u522f3b75\">\u4ee3\u7801\u751f\u6210\u5668&#xff1a;\u6a21\u677f\u5316\u4ee3\u7801\u4e0eAI\u751f\u6210\u4ee3\u7801\u7684\u7ed3\u5408<\/li>\n<li id=\"u35de432f\">\u9879\u76ee\u9a8c\u8bc1\u5668&#xff1a;\u9759\u6001\u5206\u6790\u548c\u6a21\u62df\u6267\u884c\u786e\u4fdd\u9879\u76ee\u53ef\u884c\u6027<\/li>\n<p id=\"uaad3c119\">\u56fe3&#xff1a;Builder\u6a21\u5f0f\u6280\u672f\u67b6\u6784\u56fe<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"958\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250520094354-682c4eda2ba5b.png\" width=\"2616\" \/><\/p>\n<p id=\"uaad3c119\"> \u56fe3\u5c55\u793a\u4e86Builder\u6a21\u5f0f\u80cc\u540e\u7684\u6280\u672f\u7ec4\u4ef6\u53ca\u5176\u4ea4\u4e92\u5173\u7cfb<\/p>\n<h4 id=\"XABfc\">3.2 \u4ee3\u7801\u8d28\u91cf\u8bc4\u4f30<\/h4>\n<p id=\"uf7737870\">\u6211\u4eec\u5bf9Builder\u6a21\u5f0f\u751f\u6210\u7684\u4ee3\u7801\u8fdb\u884c\u4e86\u8d28\u91cf\u8bc4\u4f30&#xff0c;\u4f7f\u7528ESLint\u548cPylint\u7b49\u5de5\u5177\u8fdb\u884c\u5206\u6790&#xff1a;<\/p>\n<p id=\"u8523599b\">Python\u9879\u76ee\u4ee3\u7801\u8d28\u91cf\u62a5\u544a<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n| \u6307\u6807            | \u5f97\u5206 (100) |<br \/>\n|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;|<br \/>\n| \u4ee3\u7801\u89c4\u8303\u7b26\u5408\u5ea6   | 92         |<br \/>\n| \u590d\u6742\u5ea6           | \u4e2d\u7b49       |<br \/>\n| \u91cd\u590d\u4ee3\u7801\u7387       | 5%         |<br \/>\n| \u6587\u6863\u5b8c\u6574\u6027       | 85         |<br \/>\n| \u6d4b\u8bd5\u8986\u76d6\u7387\u5efa\u8bae   | \u63d0\u4f9b       |<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; <\/p>\n<p id=\"u212e60ab\">JavaScript\u9879\u76ee\u4ee3\u7801\u8d28\u91cf\u62a5\u544a<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n| \u6307\u6807            | \u5f97\u5206 (100) |<br \/>\n|&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;|<br \/>\n| ES\u89c4\u8303\u7b26\u5408\u5ea6     | 95         |<br \/>\n| \u7ec4\u4ef6\u8026\u5408\u5ea6       | \u4f4e         |<br \/>\n| \u72b6\u6001\u7ba1\u7406\u5408\u7406\u6027   | \u826f\u597d       |<br \/>\n| \u6027\u80fd\u4f18\u5316\u5efa\u8bae     | \u63d0\u4f9b       |<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; <\/p>\n<h3 id=\"CD6qh\">\u56db\u3001\u5b9e\u9645\u9879\u76ee\u6784\u5efa\u6848\u4f8b<\/h3>\n<h4 id=\"g2OKJ\">4.1 \u7535\u5b50\u5546\u52a1\u7f51\u7ad9\u6784\u5efa<\/h4>\n<p id=\"ub8cbe35e\">\u6211\u4eec\u4f7f\u7528Builder\u6a21\u5f0f\u6784\u5efa\u4e86\u4e00\u4e2a\u7b80\u6613\u7535\u5b50\u5546\u52a1\u7f51\u7ad9&#xff0c;\u4ee5\u4e0b\u662f\u5173\u952e\u6b65\u9aa4&#xff1a;<\/p>\n<li id=\"u7429082a\">\u9879\u76ee\u521d\u59cb\u5316&#xff1a;<\/li>\n<p>&#034;\u521b\u5efa\u4e00\u4e2a\u7535\u5b50\u5546\u52a1\u7f51\u7ad9&#xff0c;\u524d\u7aef\u4f7f\u7528React&#xff0c;\u540e\u7aef\u4f7f\u7528Node.js&#xff0c;\u9700\u8981\u4ea7\u54c1\u5217\u8868\u3001\u8d2d\u7269\u8f66\u548c\u7528\u6237\u8ba4\u8bc1\u529f\u80fd&#034; <\/p>\n<li id=\"ua784f058\">\u751f\u6210\u7684\u9879\u76ee\u7ed3\u6784&#xff1a;<\/li>\n<p>ecommerce-site\/<br \/>\n\u251c\u2500\u2500 client\/            # React\u524d\u7aef<br \/>\n\u2502   \u251c\u2500\u2500 public\/<br \/>\n\u2502   \u251c\u2500\u2500 src\/<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 components\/<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 pages\/<br \/>\n\u2502   \u2502   \u251c\u2500\u2500 App.js<br \/>\n\u2502   \u2502   \u2514\u2500\u2500 index.js<br \/>\n\u251c\u2500\u2500 server\/            # Node.js\u540e\u7aef<br \/>\n\u2502   \u251c\u2500\u2500 models\/<br \/>\n\u2502   \u251c\u2500\u2500 routes\/<br \/>\n\u2502   \u251c\u2500\u2500 app.js<br \/>\n\u2502   \u2514\u2500\u2500 package.json<br \/>\n\u251c\u2500\u2500 package.json<br \/>\n\u2514\u2500\u2500 README.md <\/p>\n<li id=\"ufaa21f18\">\u6838\u5fc3\u529f\u80fd\u4ee3\u7801\u793a\u4f8b&#xff1a;<\/li>\n<p>\/\/ \u4ea7\u54c1\u6a21\u578b (server\/models\/Product.js)<br \/>\nconst mongoose &#061; require(&#039;mongoose&#039;);<\/p>\n<p>const productSchema &#061; new mongoose.Schema({<br \/>\n  name: { type: String, required: true },<br \/>\n  price: { type: Number, required: true },<br \/>\n  description: String,<br \/>\n  imageUrl: String,<br \/>\n  category: String,<br \/>\n  stock: { type: Number, default: 0 }<br \/>\n});<\/p>\n<p>module.exports &#061; mongoose.model(&#039;Product&#039;, productSchema);<br \/>\n\/\/ \u8d2d\u7269\u8f66API (server\/routes\/cart.js)<br \/>\nconst express &#061; require(&#039;express&#039;);<br \/>\nconst router &#061; express.Router();<br \/>\nconst Cart &#061; require(&#039;..\/models\/Cart&#039;);<br \/>\nconst auth &#061; require(&#039;..\/middleware\/auth&#039;);<\/p>\n<p>\/\/ \u83b7\u53d6\u7528\u6237\u8d2d\u7269\u8f66<br \/>\nrouter.get(&#039;\/&#039;, auth, async (req, res) &#061;&gt; {<br \/>\n  try {<br \/>\n    const cart &#061; await Cart.findOne({ user: req.user.id }).populate(&#039;items.product&#039;);<br \/>\n    res.json(cart);<br \/>\n  } catch (err) {<br \/>\n    res.status(500).json({ message: err.message });<br \/>\n  }<br \/>\n});<\/p>\n<p>\/\/ \u6dfb\u52a0\u5546\u54c1\u5230\u8d2d\u7269\u8f66<br \/>\nrouter.post(&#039;\/add&#039;, auth, async (req, res) &#061;&gt; {<br \/>\n  const { productId, quantity } &#061; req.body;<\/p>\n<p>  try {<br \/>\n    let cart &#061; await Cart.findOne({ user: req.user.id });<\/p>\n<p>    if (!cart) {<br \/>\n      cart &#061; new Cart({ user: req.user.id, items: [] });<br \/>\n    }<\/p>\n<p>    \/\/ \u68c0\u67e5\u5546\u54c1\u662f\u5426\u5df2\u5728\u8d2d\u7269\u8f66<br \/>\n    const itemIndex &#061; cart.items.findIndex(item &#061;&gt;<br \/>\n      item.product.toString() &#061;&#061;&#061; productId);<\/p>\n<p>    if (itemIndex &gt; -1) {<br \/>\n      cart.items[itemIndex].quantity &#043;&#061; quantity;<br \/>\n    } else {<br \/>\n      cart.items.push({ product: productId, quantity });<br \/>\n    }<\/p>\n<p>    await cart.save();<br \/>\n    res.json(cart);<br \/>\n  } catch (err) {<br \/>\n    res.status(400).json({ message: err.message });<br \/>\n  }<br \/>\n}); <\/p>\n<p id=\"ucc0213f4\">\u56fe4&#xff1a;\u7535\u5b50\u5546\u52a1\u7f51\u7ad9\u67b6\u6784\u793a\u610f\u56fe<img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"512\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250520094355-682c4edb7c318.png\" width=\"547\" \/><\/p>\n<p id=\"ucc0213f4\"> \u56fe4\u5c55\u793a\u4e86Builder\u6a21\u5f0f\u751f\u6210\u7684\u7535\u5b50\u5546\u52a1\u7f51\u7ad9\u524d\u540e\u7aef\u67b6\u6784<\/p>\n<h3 id=\"NcgFQ\">\u4e94\u3001Builder\u6a21\u5f0f\u7684\u4f18\u52bf\u4e0e\u5c40\u9650<\/h3>\n<h4 id=\"Cw7AR\">5.1 \u663e\u8457\u4f18\u52bf<\/h4>\n<li id=\"ue2721d61\">\u5f00\u53d1\u6548\u7387\u63d0\u5347&#xff1a;\u6d4b\u8bd5\u663e\u793a&#xff0c;\u4f7f\u7528Builder\u6a21\u5f0f\u53ef\u4ee5\u5c06\u521d\u59cb\u9879\u76ee\u642d\u5efa\u65f6\u95f4\u7f29\u77ed60-80%<\/li>\n<li id=\"u0c8f5ee7\">\u77e5\u8bc6\u95e8\u69db\u964d\u4f4e&#xff1a;\u5f00\u53d1\u8005\u65e0\u9700\u7cbe\u901a\u6240\u6709\u6280\u672f\u6808\u7ec6\u8282\u5373\u53ef\u5f00\u59cb\u9879\u76ee<\/li>\n<li id=\"ue6fa9410\">\u6700\u4f73\u5b9e\u8df5\u5185\u7f6e&#xff1a;\u751f\u6210\u7684\u4ee3\u7801\u9075\u5faa\u884c\u4e1a\u6807\u51c6\u548c\u6700\u4f73\u5b9e\u8df5<\/li>\n<li id=\"u205c148c\">\u6301\u7eed\u5b66\u4e60\u80fd\u529b&#xff1a;\u6839\u636e\u7528\u6237\u53cd\u9988\u4e0d\u65ad\u4f18\u5316\u751f\u6210\u7ed3\u679c<\/li>\n<h4 id=\"Pm7xH\">5.2 \u5f53\u524d\u5c40\u9650<\/h4>\n<li id=\"u35f06567\">\u590d\u6742\u4e1a\u52a1\u903b\u8f91\u5904\u7406\u80fd\u529b\u6709\u9650<\/li>\n<li id=\"ud2410c5f\">\u9ad8\u5ea6\u5b9a\u5236\u5316\u9700\u6c42\u4ecd\u9700\u4eba\u5de5\u5e72\u9884<\/li>\n<li id=\"u17041124\">\u6027\u80fd\u4f18\u5316\u65b9\u9762\u5efa\u8bae\u8f83\u4e3a\u57fa\u7840<\/li>\n<li id=\"ud17469c1\">\u5927\u578b\u4f01\u4e1a\u7ea7\u5e94\u7528\u7684\u67b6\u6784\u8bbe\u8ba1\u80fd\u529b\u6709\u5f85\u63d0\u5347<\/li>\n<h3 id=\"QMkfE\">\u516d\u3001\u4e0e\u5176\u4ed6\u5de5\u5177\u5bf9\u6bd4<\/h3>\n<table id=\"Itczs\">\n<tbody>\n<tr>\n<td>\n<p id=\"ucffa6ac2\">\u529f\u80fd\/\u5de5\u5177<\/p>\n<\/td>\n<td>\n<p id=\"u36d8a866\">Trae Builder<\/p>\n<\/td>\n<td>\n<p id=\"ue17fab2f\">GitHub Copilot<\/p>\n<\/td>\n<td>\n<p id=\"ua646e34e\">Amazon CodeWhisperer<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"u567474ba\">\u81ea\u7136\u8bed\u8a00\u9879\u76ee\u521b\u5efa<\/p>\n<\/td>\n<td>\n<p id=\"u3b6ad6a7\">\u2713<\/p>\n<\/td>\n<td>\n<p id=\"u5362bcac\">\u2717<\/p>\n<\/td>\n<td>\n<p id=\"uc1afaf81\">\u2717<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"u28e79cce\">\u591a\u6587\u4ef6\u534f\u8c03\u751f\u6210<\/p>\n<\/td>\n<td>\n<p id=\"ua3316419\">\u2713<\/p>\n<\/td>\n<td>\n<p id=\"ue1e44755\">\u90e8\u5206<\/p>\n<\/td>\n<td>\n<p id=\"uf4e4f7b4\">\u90e8\u5206<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"u64909b94\">\u67b6\u6784\u8bbe\u8ba1\u5efa\u8bae<\/p>\n<\/td>\n<td>\n<p id=\"ua2f5fe6b\">\u2713<\/p>\n<\/td>\n<td>\n<p id=\"ub38123cc\">\u2717<\/p>\n<\/td>\n<td>\n<p id=\"ue0259d4c\">\u2717<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"u79aaf6c0\">\u6280\u672f\u6808\u9009\u62e9<\/p>\n<\/td>\n<td>\n<p id=\"u4845591d\">\u2713<\/p>\n<\/td>\n<td>\n<p id=\"u3bb39c1b\">\u2717<\/p>\n<\/td>\n<td>\n<p id=\"u6b1d8168\">\u2717<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p id=\"u2ea0c544\">\u6301\u7eed\u8fed\u4ee3\u652f\u6301<\/p>\n<\/td>\n<td>\n<p id=\"ud0d91081\">\u2713<\/p>\n<\/td>\n<td>\n<p id=\"uba2fdab5\">\u2713<\/p>\n<\/td>\n<td>\n<p id=\"ub243f153\">\u2713<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 id=\"m0mRQ\">\u4e03\u3001\u4f7f\u7528\u5efa\u8bae\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<h4 id=\"VSz6g\">7.1 \u6709\u6548\u4f7f\u7528Builder\u6a21\u5f0f\u7684\u6280\u5de7<\/h4>\n<li id=\"u7f49fd83\">\u9700\u6c42\u63cf\u8ff0\u8981\u5177\u4f53&#xff1a;<\/li>\n<ul>\n<li>\n<ul>\n<li id=\"ubc5f42b4\">\u4e0d\u4f73&#xff1a;&#034;\u521b\u5efa\u4e00\u4e2a\u7f51\u7ad9&#034;<\/li>\n<li id=\"u3e9f0d63\">\u826f\u597d&#xff1a;&#034;\u521b\u5efa\u4e00\u4e2a\u4f7f\u7528React\u548cNode.js\u7684\u535a\u5ba2\u5e73\u53f0&#xff0c;\u652f\u6301Markdown\u6587\u7ae0\u3001\u6807\u7b7e\u5206\u7c7b\u548c\u7528\u6237\u8bc4\u8bba&#034;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<li id=\"ub3f2b32a\">\u5206\u9636\u6bb5\u6784\u5efa&#xff1a;<\/li>\n<p>1. \u5148\u6784\u5efa\u6838\u5fc3\u529f\u80fd\u6846\u67b6<br \/>\n2. \u7136\u540e\u6dfb\u52a0\u8f85\u52a9\u529f\u80fd<br \/>\n3. \u6700\u540e\u8fdb\u884c\u4f18\u5316\u548c\u6d4b\u8bd5 <\/p>\n<li id=\"u3cddcbd9\">\u5229\u7528\u8fed\u4ee3\u529f\u80fd&#xff1a;<\/li>\n<p># \u521d\u59cb\u8bf7\u6c42<br \/>\n&#034;\u521b\u5efaFlask REST API\u6846\u67b6&#034;<\/p>\n<p># \u540e\u7eed\u8fed\u4ee3<br \/>\n&#034;\u4e3a\u4e4b\u524d\u7684API\u6dfb\u52a0JWT\u8ba4\u8bc1\u652f\u6301&#034;<br \/>\n&#034;\u6dfb\u52a0Swagger\u6587\u6863&#034; <\/p>\n<h4 id=\"kT9e3\">7.2 \u96c6\u6210\u5230\u73b0\u6709\u5de5\u4f5c\u6d41<\/h4>\n<li id=\"u8a128e15\">\u4e0e\u7248\u672c\u63a7\u5236\u7ed3\u5408&#xff1a;<\/li>\n<p># \u5178\u578b\u5de5\u4f5c\u6d41<br \/>\ntrae init &#034;\u521b\u5efaReact\u7ba1\u7406\u9762\u677f&#034;  # \u4f7f\u7528Builder\u521d\u59cb\u5316<br \/>\ngit init                      # \u521d\u59cb\u5316\u4ed3\u5e93<br \/>\ngit add .<br \/>\ngit commit -m &#034;\u521d\u59cb\u9879\u76ee\u7ed3\u6784&#034; <\/p>\n<li id=\"u8e38cb1f\">\u4e0e\u73b0\u6709\u9879\u76ee\u6574\u5408&#xff1a;<\/li>\n<p>1. \u5728\u73b0\u6709\u9879\u76ee\u4e2d\u521b\u5efa\u65b0\u5206\u652f<br \/>\n2. \u4f7f\u7528Builder\u6dfb\u52a0\u65b0\u529f\u80fd<br \/>\n3. \u5408\u5e76\u524d\u8fdb\u884c\u4ee3\u7801\u5ba1\u67e5 <\/p>\n<h3 id=\"zZWZ1\">\u516b\u3001\u672a\u6765\u53d1\u5c55\u65b9\u5411<\/h3>\n<p id=\"u0cd353d7\">\u6839\u636eTrae\u5b98\u65b9\u8def\u7ebf\u56fe&#xff0c;Builder\u6a21\u5f0f\u672a\u6765\u5c06\u589e\u52a0&#xff1a;<\/p>\n<li id=\"uc665270e\">\u4e91\u90e8\u7f72\u96c6\u6210&#xff1a;\u76f4\u63a5\u90e8\u7f72\u5230AWS\u3001Azure\u7b49\u5e73\u53f0<\/li>\n<li id=\"udb05fb62\">\u6d4b\u8bd5\u5957\u4ef6\u751f\u6210&#xff1a;\u81ea\u52a8\u751f\u6210\u5355\u5143\u6d4b\u8bd5\u548cE2E\u6d4b\u8bd5<\/li>\n<li id=\"u713c3c0f\">DevOps\u6d41\u6c34\u7ebf&#xff1a;CI\/CD\u914d\u7f6e\u81ea\u52a8\u751f\u6210<\/li>\n<li id=\"u2ae322a1\">\u591a\u6a21\u6001\u8f93\u5165&#xff1a;\u652f\u6301\u6d41\u7a0b\u56fe\u3001\u8349\u56fe\u7b49\u8f93\u5165\u65b9\u5f0f<\/li>\n<h3 id=\"jGAIP\">\u7ed3\u8bba<\/h3>\n<p id=\"u1c4c1046\">Trae\u63d2\u4ef6\u7684Builder\u6a21\u5f0f\u4ee3\u8868\u4e86AI\u7f16\u7a0b\u52a9\u624b\u5411&#034;AI\u5de5\u7a0b\u5e08&#034;\u89d2\u8272\u8fdb\u5316\u7684\u91cd\u8981\u91cc\u7a0b\u7891\u3002\u901a\u8fc7\u6d4b\u8bd5&#xff0c;\u6211\u4eec\u786e\u8ba4\u5b83\u80fd\u591f\u663e\u8457\u63d0\u5347\u9879\u76ee\u521d\u59cb\u9636\u6bb5\u7684\u5f00\u53d1\u6548\u7387&#xff0c;\u964d\u4f4e\u6280\u672f\u95e8\u69db&#xff0c;\u5e76\u4e3a\u5f00\u53d1\u8005\u63d0\u4f9b\u5408\u7406\u7684\u67b6\u6784\u5efa\u8bae\u3002\u867d\u7136\u76ee\u524d\u5728\u5904\u7406\u590d\u6742\u4e1a\u52a1\u903b\u8f91\u65b9\u9762\u4ecd\u6709\u5c40\u9650&#xff0c;\u4f46\u5176\u6301\u7eed\u5b66\u4e60\u80fd\u529b\u9884\u793a\u7740\u5feb\u901f\u8fdb\u6b65\u7684\u672a\u6765\u3002<\/p>\n<p id=\"u4da97837\">\u5bf9\u4e8e\u4e2a\u4eba\u5f00\u53d1\u8005\u548c\u5c0f\u578b\u56e2\u961f&#xff0c;Builder\u6a21\u5f0f\u5df2\u7ecf\u53ef\u4ee5\u6210\u4e3a\u5f3a\u5927\u7684\u751f\u4ea7\u529b\u5de5\u5177&#xff1b;\u5bf9\u4e8e\u4f01\u4e1a\u7528\u6237&#xff0c;\u5b83\u5219\u662f\u4e00\u4e2a\u503c\u5f97\u5173\u6ce8\u7684\u8f85\u52a9\u5f00\u53d1\u65b9\u6848\u3002\u968f\u7740\u529f\u80fd\u7684\u4e0d\u65ad\u5b8c\u5584&#xff0c;Trae Builder\u6a21\u5f0f\u6709\u671b\u91cd\u5851\u8f6f\u4ef6\u5f00\u53d1\u7684\u5de5\u4f5c\u65b9\u5f0f\u3002<\/p>\n<h3 id=\"v0Awq\">\u53c2\u8003\u8d44\u6599<\/h3>\n<li id=\"u5a85ec99\">Trae\u5b98\u65b9\u6587\u6863<\/li>\n<li id=\"u52817edd\">Builder\u6a21\u5f0f\u6280\u672f\u767d\u76ae\u4e66<\/li>\n<li id=\"u118b16cc\">VS Code\u63d2\u4ef6\u5e02\u573a<\/li>\n<li id=\"u58cc9e30\">JetBrains\u63d2\u4ef6\u4ed3\u5e93<\/li>\n<li id=\"u8587adb1\">AI\u8f85\u52a9\u7f16\u7a0b\u7814\u7a76\u8bba\u6587<\/li>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf16\u6b21\u3002Trae\u63d2\u4ef6\u6700\u65b0\u63a8\u51fa\u7684Builder\u6a21\u5f0f\u6807\u5fd7\u7740AI\u8f85\u52a9\u7f16\u7a0b\u5de5\u5177\u4ece\u7b80\u5355\u7684\u4ee3\u7801\u8865\u5168\u5411\u201cAI\u5de5\u7a0b\u5e08\u201d\u89d2\u8272\u7684\u8f6c\u53d8\u3002\u8be5\u6a21\u5f0f\u5141\u8bb8\u5f00\u53d1\u8005\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\u9879\u76ee\u9700\u6c42\uff0c\u81ea\u52a8\u751f\u6210\u5b8c\u6574\u7684\u9879\u76ee\u7ed3\u6784\u3001\u4ee3\u7801\u6587\u4ef6\u548c\u5f00\u53d1\u6d41\u7a0b\uff0c\u652f\u6301VSCode\u3001JetBrains IDE\u53ca\u5728\u7ebfWeb\u7248\u672c\u3002Builder\u6a21\u5f0f\u7684\u6838\u5fc3\u529f\u80fd\u5305\u62ec\u81ea\u7136\u8bed\u8a00\u9879\u76ee\u521d\u59cb\u5316\u3001\u667a\u80fd\u9879\u76ee\u67b6\u6784\u8bbe\u8ba1\u548c\u591a\u6587\u4ef6\u534f\u8c03\u4ee3\u7801\u751f\u6210\uff0c\u663e\u8457\u63d0\u5347\u4e86\u5f00\u53d1\u6548\u7387\uff0c\u964d\u4f4e\u4e86\u6280\u672f\u95e8\u69db\u3002\u7136\u800c\uff0c\u5b83\u5728\u5904\u7406\u590d\u6742\u4e1a\u52a1\u903b\u8f91\u548c\u9ad8\u5ea6\u5b9a\u5236\u5316\u9700\u6c42\u65b9\u9762\u4ecd\u6709\u5c40\u9650\u3002\u672a\u6765\uff0cBuilder\u6a21\u5f0f\u5c06\u96c6\u6210\u4e91\u90e8\u7f72\u3001\u6d4b\u8bd5\u5957\u4ef6\u751f\u6210\u548cDevOps\u6d41\u6c34\u7ebf\u7b49\u529f\u80fd<\/p>\n","protected":false},"author":2,"featured_media":38589,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[53,3414,3413],"topic":[],"class_list":["post-38593","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ai","tag-builder","tag-trae"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/38593.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf16\u6b21\u3002Trae\u63d2\u4ef6\u6700\u65b0\u63a8\u51fa\u7684Builder\u6a21\u5f0f\u6807\u5fd7\u7740AI\u8f85\u52a9\u7f16\u7a0b\u5de5\u5177\u4ece\u7b80\u5355\u7684\u4ee3\u7801\u8865\u5168\u5411\u201cAI\u5de5\u7a0b\u5e08\u201d\u89d2\u8272\u7684\u8f6c\u53d8\u3002\u8be5\u6a21\u5f0f\u5141\u8bb8\u5f00\u53d1\u8005\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\u9879\u76ee\u9700\u6c42\uff0c\u81ea\u52a8\u751f\u6210\u5b8c\u6574\u7684\u9879\u76ee\u7ed3\u6784\u3001\u4ee3\u7801\u6587\u4ef6\u548c\u5f00\u53d1\u6d41\u7a0b\uff0c\u652f\u6301VSCode\u3001JetBrains IDE\u53ca\u5728\u7ebfWeb\u7248\u672c\u3002Builder\u6a21\u5f0f\u7684\u6838\u5fc3\u529f\u80fd\u5305\u62ec\u81ea\u7136\u8bed\u8a00\u9879\u76ee\u521d\u59cb\u5316\u3001\u667a\u80fd\u9879\u76ee\u67b6\u6784\u8bbe\u8ba1\u548c\u591a\u6587\u4ef6\u534f\u8c03\u4ee3\u7801\u751f\u6210\uff0c\u663e\u8457\u63d0\u5347\u4e86\u5f00\u53d1\u6548\u7387\uff0c\u964d\u4f4e\u4e86\u6280\u672f\u95e8\u69db\u3002\u7136\u800c\uff0c\u5b83\u5728\u5904\u7406\u590d\u6742\u4e1a\u52a1\u903b\u8f91\u548c\u9ad8\u5ea6\u5b9a\u5236\u5316\u9700\u6c42\u65b9\u9762\u4ecd\u6709\u5c40\u9650\u3002\u672a\u6765\uff0cBuilder\u6a21\u5f0f\u5c06\u96c6\u6210\u4e91\u90e8\u7f72\u3001\u6d4b\u8bd5\u5957\u4ef6\u751f\u6210\u548cDevOps\u6d41\u6c34\u7ebf\u7b49\u529f\u80fd\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/38593.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-20T09:43:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250520094353-682c4ed911e8b.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38593.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/38593.html\",\"name\":\"Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-20T09:43:56+00:00\",\"dateModified\":\"2025-05-20T09:43:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/38593.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/38593.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/38593.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/38593.html","og_locale":"zh_CN","og_type":"article","og_title":"Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb3k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf16\u6b21\u3002Trae\u63d2\u4ef6\u6700\u65b0\u63a8\u51fa\u7684Builder\u6a21\u5f0f\u6807\u5fd7\u7740AI\u8f85\u52a9\u7f16\u7a0b\u5de5\u5177\u4ece\u7b80\u5355\u7684\u4ee3\u7801\u8865\u5168\u5411\u201cAI\u5de5\u7a0b\u5e08\u201d\u89d2\u8272\u7684\u8f6c\u53d8\u3002\u8be5\u6a21\u5f0f\u5141\u8bb8\u5f00\u53d1\u8005\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u63cf\u8ff0\u9879\u76ee\u9700\u6c42\uff0c\u81ea\u52a8\u751f\u6210\u5b8c\u6574\u7684\u9879\u76ee\u7ed3\u6784\u3001\u4ee3\u7801\u6587\u4ef6\u548c\u5f00\u53d1\u6d41\u7a0b\uff0c\u652f\u6301VSCode\u3001JetBrains IDE\u53ca\u5728\u7ebfWeb\u7248\u672c\u3002Builder\u6a21\u5f0f\u7684\u6838\u5fc3\u529f\u80fd\u5305\u62ec\u81ea\u7136\u8bed\u8a00\u9879\u76ee\u521d\u59cb\u5316\u3001\u667a\u80fd\u9879\u76ee\u67b6\u6784\u8bbe\u8ba1\u548c\u591a\u6587\u4ef6\u534f\u8c03\u4ee3\u7801\u751f\u6210\uff0c\u663e\u8457\u63d0\u5347\u4e86\u5f00\u53d1\u6548\u7387\uff0c\u964d\u4f4e\u4e86\u6280\u672f\u95e8\u69db\u3002\u7136\u800c\uff0c\u5b83\u5728\u5904\u7406\u590d\u6742\u4e1a\u52a1\u903b\u8f91\u548c\u9ad8\u5ea6\u5b9a\u5236\u5316\u9700\u6c42\u65b9\u9762\u4ecd\u6709\u5c40\u9650\u3002\u672a\u6765\uff0cBuilder\u6a21\u5f0f\u5c06\u96c6\u6210\u4e91\u90e8\u7f72\u3001\u6d4b\u8bd5\u5957\u4ef6\u751f\u6210\u548cDevOps\u6d41\u6c34\u7ebf\u7b49\u529f\u80fd","og_url":"https:\/\/www.wsisp.com\/helps\/38593.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-20T09:43:56+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250520094353-682c4ed911e8b.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/38593.html","url":"https:\/\/www.wsisp.com\/helps\/38593.html","name":"Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-20T09:43:56+00:00","dateModified":"2025-05-20T09:43:56+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/38593.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/38593.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/38593.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Trae\u63d2\u4ef6Builder\u6a21\u5f0f\u6df1\u5ea6\u6d4b\u8bc4\uff1a\u4ece\u7f16\u7a0b\u52a9\u624b\u5230AI\u5de5\u7a0b\u5e08\u7684\u8fdb\u5316"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=38593"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/38593\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/38589"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=38593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=38593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=38593"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=38593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}