{"id":418922,"date":"2021-03-19T20:28:10","date_gmt":"2021-03-19T12:28:10","guid":{"rendered":"http:\/\/4563.org\/?p=418922"},"modified":"2021-03-19T20:28:10","modified_gmt":"2021-03-19T12:28:10","slug":"%e5%88%b0%e5%ba%95%e8%a6%81%e6%80%8e%e6%a0%b7%e6%89%8d%e8%83%bd%e5%9c%a8-vue3-%e7%9a%84-vue-%e6%96%87%e4%bb%b6%e9%87%8c%e4%bd%bf%e7%94%a8%e4%b8%8a%e5%ae%8c%e6%95%b4%e7%9a%84-ts-%e8%af%ad%e6%b3%95","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=418922","title":{"rendered":"\u5230\u5e95\u8981\u600e\u6837\u624d\u80fd\u5728 vue3 \u7684 vue \u6587\u4ef6\u91cc\u4f7f\u7528\u4e0a\u5b8c\u6574\u7684 TS \u8bed\u6cd5\uff1f \u53ea\u80fd\u7528\u4e00\u534a\u53ef\u592a\u79bb\u8c31\u4e86"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5230\u5e95\u8981\u600e\u6837\u624d\u80fd\u5728 vue3 \u7684 vue \u6587\u4ef6\u91cc\u4f7f\u7528\u4e0a\u5b8c\u6574\u7684 TS \u8bed\u6cd5\uff1f \u53ea\u80fd\u7528\u4e00\u534a\u53ef\u592a\u79bb\u8c31\u4e86               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : skypyb <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u67d0\u4e00\u90e8\u5206\u7279\u6027\u5728 vue \u6587\u4ef6\u91cc\u8fd8\u80fd\u7528\u4e0a\u4e00\u70b9\uff0c\u6bd4\u5982\u7c7b\u578b\u7ea6\u675f\uff0cIDE \u505a\u7c7b\u578b\u63a8\u65ad\u4e5f\u8fd8\u884c\u3002<\/p>\n<p>\u4f46\u662f\u4f1a\u6709\u4e9b\u5176\u4ed6\u7684\u7279\u6027\u7528\u4e0d\u4e86\uff0c \u6bd4\u5982\u6211\u9047\u5230\u8fd9\u8fd9\u4fe9\u95ee\u9898\u3002<br \/> \u4e00\u4e2a\u662f\u63a5\u53e3\u4e0d\u80fd\u76f4\u63a5\u5728 type=&#8217;ts&#8217; \u7684 script \u5757\u4e2d\u5b9a\u4e49\u3002(\u8bd5\u4e86\u4e0b\u7c7b\u4e5f\u4e00\u6837)<br \/> \u8fd8\u6709\u5c31\u662f\u65e0\u6cd5\u4f7f\u7528\u7c7b\u578b\u65ad\u8a00\u3002 <\/p>\n<p>\u5728 .ts \u6587\u4ef6\u91cc\u5c31\u80fd\u7528\uff0c \u5728 vue \u91cc\u5c31\u4e0d\u80fd\u7528\u3002 \u4f60\u8bf4\u50cf\u662f\u63a5\u53e3\u8fd9\u79cd\u5c31\u7b97\u4e86\uff0c \u5b9a\u4e49\u5728 ts \u6587\u4ef6\u91cc\u5f15\u8fdb\u6765\u6211\u8fd8\u80fd\u62ff\u7740\u7528 (\uff1f\u5176\u5b9e\u8fd9\u4e5f\u5f88\u602a)\u3002 \u50cf\u8fd9\u79cd\u9700\u8981\u505a\u7c7b\u578b\u65ad\u8a00\u7684\u5730\u65b9\u6211\u5c31\u771f\u7684\u662f\u6ca1\u529e\u6cd5\u4e86&#8230; <\/p>\n<pre><code>Unexpected reserved word 'interface' (6:4)    4 |     import {NotesView} from '@\/api\/uinfo-service';   5 | &gt; 6 |     interface Ass {     |     ^   7 |         asv: string   8 |     }   9 | <\/code><\/pre>\n<p> <\/p>\n<pre><code> Unexpected token, expected \",\" (10:29)     8 |         props: {    9 |             note: { &gt; 10 |                 type: Object as PropType&lt;NotesView&gt;,      |                              ^   11 |                 required: true   12 |             }   13 |         },   <\/code><\/pre>\n<p>\u641c\u904d\u4e86\u5404\u4e2a\u5730\u65b9\uff0c \u6ca1\u627e\u5230\u76f8\u4f3c\u7684\u4f8b\u5b50\u3002<strong>\u6211\u751a\u81f3\u4e0d\u77e5\u9053\u662f\u4ec0\u4e48\u5730\u65b9\u51fa\u7684\u95ee\u9898<\/strong>\u3002 \u7248\u672c\uff1f\u63d2\u4ef6\uff1f\u914d\u7f6e\uff1f<br \/> \u6ca1\u529e\u6cd5\u53ea\u80fd\u6765\u8fd9\u6c42\u52a9\u5566 <\/p>\n<p> <\/p>\n<p>\u4e0b\u8fb9\u8d34\u51e0\u4e2a\u6587\u4ef6\uff0c \u5927\u4f6c\u4eec\u5e2e\u770b\u4e0b\u5457      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>24<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5587376\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iold <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u5e94\u8be5\u9700\u8981\u544a\u8bc9 ts, *.vue \u4e5f\u662f ts \u6587\u4ef6, ts \u914d\u7f6e\u91cc include \u4e00\u4e0b ts \u5b58\u5728\u54ea\u4e9b\u6587\u4ef6\u540e\u7f00\u6587\u4ef6\u91cc. \u4f8b\u5982 &#8220;include&#8221;: [&#8220;src\/**\/*.ts&#8221;, &#8220;src\/**\/*.d.ts&#8221;, &#8220;src\/**\/*.tsx&#8221;, &#8220;src\/**\/*.vue&#8221;]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587377\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : skypyb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @iold \u521a\u6309\u7167\u4f60\u8bf4\u7684\u8bd5\u4e86\u4e0b\uff0c \u4ecd\u7136\u4e0d\u884c\u3002 \u5176\u5b9e\u662f\u53ef\u4ee5\u5728 vue \u91cc\u7528 ts\uff0c\u4e5f\u914d\u7f6e\u8fc7\u4e86 shims-vue.d.ts \uff0c\u53ea\u662f\u6709\u4e0d\u5c11\u83ab\u540d\u5176\u5999\u7684\u95ee\u9898 (\u6bd4\u5982\u6211\u4e0a\u8fb9\u8bf4\u7684)\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587378\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cereschen <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4f60\u8fd9\u4e2a\u62a5\u9519\u662f\u54ea\u4e2a\u670d\u52a1\u62a5\u9519\u7684 \u53d1\u5b8c\u6574\u4e00\u70b9                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587379\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shakukansp <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             lang=&#8221;ts&#8221;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587380\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : avastms <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Vue \u548c TypeScript \u4e0d\u517c\u5bb9\u7684\uff0c \u53ea\u80fd\u662f\u4e3b\u8981\u903b\u8f91\u5355\u72ec\u5199\u5728\u5916\u9762\u7684 ts \u6587\u4ef6\u91cc\uff0cvue \u53ea\u505a\u5f15\u7528\u8c03\u7528\u3002<br \/>\u60f3\u8981 vue \u91cc\u9762\u4f7f\u7528 ts, \u592a\u96be\u53d7\u4e86\uff0cyyx \u4e0d\u652f\u6301\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587381\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : einq7 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @avastms \u8bf7\u95ee yyx \u662f\u4ec0\u4e48                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587382\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ShareDuck <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @einq7 \u662f\u6307\u4f5c\u8005\u5427\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587383\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ruoxie <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u76f4\u63a5 tsx \u4e0d\u9999\u5417\uff1f\u5199 template \u6ca1\u63d0\u793a\uff0c\u8fd8\u4e0d\u5982\u4e0d\u7528 TS<\/p>\n<p>https:\/\/github.com\/lowcoding\/lowcode-vscode\/blob\/vite2\/webview-vue-webpack\/src\/views\/snippet\/Detail\/index.tsx<\/p>\n<p>\u5199\u4e00\u4e2a vscode \u63d2\u4ef6 webview \u90e8\u5206\u7684\u65f6\u5019\u5206\u522b\u7528 react \u8ddf vue3 \u64b8\u4e86\u4e00\u6b21\uff0c\u7b80\u76f4\u4e0d\u8981\u592a\u50cf                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587384\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Rocketer <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e2a\u4eba\u611f\u89c9\u56e0\u4e3a Vue \u5b9a\u4f4d\u4e8e\u7b80\u5355\uff0c\u6240\u4ee5\u5c31\u7528\u6700\u7b80\u5355\u7684 JS\uff0c\u8fd9\u662f\u5339\u914d\u7684\u3002<\/p>\n<p>\u60f3\u7528 TS\uff0c\u5c31\u6700\u597d\u6574\u4f53\u5347\u7ea7\uff0c\u7528 React \u6216\u8005 Angular \u3002\u975e\u5f97\u7528 TS \u5199 Vue\uff0c\u6709\u79cd\u7528\u4e13\u4e1a\u5496\u5561\u673a\u505a\u901f\u6eb6\u5496\u5561\u7684\u611f\u89c9\uff0c\u6ca1\u5fc5\u8981\uff0c\u4e5f\u6ca1\u4ec0\u4e48\u597d\u7684\u6548\u679c\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587385\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ericls <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u5c31\u662f\u6211\u6240\u8bf4\u7684 \u7528\u505a\u6846\u67b6\u7684\u601d\u60f3\u505a\u8bed\u8a00 \u80af\u5b9a\u4f1a\u51fa\u95ee\u9898                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587386\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Zzzz77 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9996\u5148 vue3 \u7edd\u5bf9\u7edd\u5bf9\u7edd\u5bf9\u662f\u652f\u6301 ts \u7684\uff0c\u4e0a\u9762\u8bf4\u4e0d\u517c\u5bb9\u7684\u51e0\u4f4d\u670b\u53cb\u5e94\u8be5\u662f\u5bf9 vue \u5e76\u4e0d\u592a\u4e86\u89e3\u3002<br \/>\u56de\u5230\u4e3b\u7684\u95ee\u9898\uff0c\u7b2c\u4e00\u70b9\uff0cscript \u6807\u7b7e\u5e94\u8be5\u662f&lt;script lang=&#8221;ts&#8221;&gt;\uff0c\u800c\u4e0d\u662f type=&#8221;ts&#8221;\uff0c\u6211\u4e0d\u786e\u5b9a\u662f\u4e0d\u662f\u4f60\u7684\u7b14\u8bef\u3002<br \/>\u5982\u679c\u6392\u9664\u8fd9\u4e00\u70b9\uff0c\u5176\u5b9e\u4ee5\u4e0a\u4fe1\u606f\u5f88\u96be\u770b\u51fa\u95ee\u9898\u51fa\u5728\u54ea\uff0c\u6211\u53ea\u80fd\u7ed9\u51e0\u4e2a\u5efa\u8bae\uff1a<br \/>\u4e00\uff0c\u5982\u679c\u65b9\u4fbf\u7684\u8bdd\uff0c\u53ef\u4ee5\u8d34\u51fa\u4ed3\u5e93\u5730\u5740\uff0c\u5927\u5bb6\u53ef\u4ee5\u5e2e\u4f60\u68c0\u67e5\u95ee\u9898\u51fa\u5728\u54ea<br \/>\u4e8c\uff0c\u53bb\u770b\u770b\u4e00\u4e9b vue3 \uff0b ts \u7684\u6848\u4f8b\uff0c\u770b\u770b\u533a\u522b\u5728\u54ea\u91cc\uff0c\u8fd9\u79cd\u6848\u4f8b github \u4e00\u641c\u4e00\u5806\uff0c\u6211\u524d\u6bb5\u65f6\u95f4\u4e5f\u5728 v \u7ad9\u4e0a\u53d1\u8fc7\u4e00\u4e2a vue3 \uff0b ts \u7684\u9879\u76ee\uff0c\u4f60\u4e5f\u53ef\u4ee5\u7ffb\u6211\u7684\u4e3b\u9898\u770b\u770b<br \/>\u4e09\uff0c\u6700\u7b80\u5355\u6709\u6548\u7684\u529e\u6cd5\uff0c\u76f4\u63a5\u7528 cli \u751f\u6210\u4e00\u4e2a vue3 \uff0b ts \u7684\u9879\u76ee\u6a21\u677f\uff0c\u5bf9\u6bd4\u68c0\u67e5\u95ee\u9898\u51fa\u5728\u4ec0\u4e48\u5730\u65b9<\/p>\n<p>\u987a\u5e26\u4e00\u63d0\uff0c\u4e0a\u9762\u6709\u670b\u53cb\u8ba4\u4e3a\u5199 template \u6ca1\u63d0\u793a\uff0c\u8fd8\u4e0d\u5982\u4e0d\u7528 TS\uff0c\u4e2a\u4eba\u4e0d\u592a\u8ba4\u540c\uff0ctemplate \u662f\u53ef\u4ee5\u901a\u8fc7 ide \u63d2\u4ef6\uff08\u5982 vscode \uff09\u652f\u6301 ts \u63d0\u793a\u7684\uff0c\u81f3\u4e8e template \u548c tsx \u54ea\u4e2a\u597d\uff0c\u5c31\u89c1\u4ec1\u89c1\u667a\u4e86\uff5e                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587387\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : iold <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @skypyb #2 \u4f60\u7528 cli \u751f\u6210\u4e2a vue3+ts \u7684\u9879\u76ee\u505a\u5bf9\u6bd4\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587388\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bojackhorseman <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             vue2 + composition-api + ts \u5199\u8d77\u6765\u4e5f\u86ee\u9999\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587389\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : solos <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5efa\u8bae\u6362 angular                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587390\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tolking <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             vscode + vetur \u6ca1\u6709\u9047\u5230\u8fd9\u4e9b\u95ee\u9898\uff0c\u6a21\u7248\u7684\u63d0\u793a\u636e\u8bf4\u8981\u7b49\u5230 setup \u7a33\u5b9a\u540e\u589e\u52a0\u3002\u6bd5\u7adf\u4e0d\u662f\u6807\u51c6\u7684 ts\uff0c\u9700\u8981\u901a\u8fc7 ide \u63d2\u4ef6\u8f85\u52a9\u652f\u6301\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587391\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Cbdy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5e94\u8be5\u4e0d\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587392\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : beginor <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8981\u4f53\u9a8c\u5b8c\u6574\u7684 ts \u652f\u6301\uff0c \u5efa\u8bae\u8bd5\u8bd5 angular\uff0cng 11 \u9ed8\u8ba4\u5f00\u542f\u4e25\u683c\u6a21\u5f0f\uff0c \u771f\u662f\u5f3a\u8feb\u75c7\u7684\u798f\u97f3\uff01<\/p>\n<p>\u53e6\u5916 react \u4e5f\u4e0d\u9519\uff0c tsx \u6709\u7279\u4f9b\u7684 ts \u652f\u6301\uff01<\/p>\n<p>\u4e3a\u5565\u975e\u5f97\u5728 vue \u4e0a\u540a\u6b7b\uff1f                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587393\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : suzic <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4eec\u5c31\u662f\u90a3\u6837\u7528\u7684\uff0c\u6ca1\u78b0\u5230\u4e3b\u8bf4\u7684\u95ee\u9898\u3002\u5efa\u8bae\u4e3b\u68c0\u67e5\u4e0b\u662f\u4e0d\u662f type=&#8217;ts&#8217;\u00a0\u7684\u539f\u56e0\uff0c\u6b63\u786e\u7684\u5199\u6cd5\u662f&#8221;lang=ts&#8221;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587394\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : emilll <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3b\u5199\u6cd5\u6ca1\u9519\u7684<\/p>\n<p>&lt;script lang=&#8221;ts&#8221;&gt;&lt;\/script&gt;<\/p>\n<p>\u53e6\u5916 vue3 \u63a8\u8350\u4f7f\u7528 volar \u63d2\u4ef6                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587395\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hotsymbol <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528 Typescript \u5199 Vue \uff1f\u662f\u8111\u5b50\u4e0d\u597d\u4f7f\u5417\uff1f\u7528 React \u548c Angular \u4e0d\u80fd\u5199 Typescript \u5417\uff1f\u8fd8\u662f\u4e0d\u601d\u8fdb\u53d6\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587396\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jaosn <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u5e16\u5b50\u7ed9\u6211\u770b\u4e50\u4e86\uff0c\u51e0\u4e2a\u56de\u590d\u4e5f\u5341\u5206\u6709\u8da3\uff0c\u6bd4\u5982\u6211\u4e0a\u8fd9\u4f4d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587397\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Sparetire <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5efa\u8bae Vue3 \u7528 volar, Vue2 \u7528 vetur                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587398\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : rodrick <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u660e\u767d vue \u5199 ts \u600e\u4e48\u5c31\u6709\u4eba\u89c9\u5f97\u80fd\u4e0a\u5347\u5230\u8111\u5b50\u4e0d\u597d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5587399\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : xiaoliaoliao <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u63a8\u8350 volar \u4f46\u662f\u8fd9\u63d2\u4ef6\u4e5f\u4e0d\u662f\u5f88\u6210\u719f eslint \u6ca1\u6cd5\u7528\uff0c\u5982\u679c\u9700\u8981\u672a\u4f7f\u7528\u53d8\u91cf\u62a5\u9519\u53ef\u4ee5\u5728 tsconfig \u7684 compilerOptions \u4e2d\u589e\u52a0\u5b57\u6bb5&#8221;noUnusedLocals&#8221;: true                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5230\u5e95\u8981\u600e\u6837\u624d\u80fd\u5728 vue3 \u7684 v&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/418922"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=418922"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/418922\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=418922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=418922"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=418922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}