Skip to content

Commit 7eb6763

Browse files
committed
translation: add New Framework-level Recommendations about Typescript Static Site Generator and JSX
1 parent 9cd56d1 commit 7eb6763

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

src/zh/recommendations.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,23 @@ Vuex 4.0 还提供对于 Vue 3 的支持,其 API 与 3.x 大致相同,如果
6363
devtools 扩展已收到重大更新(作为 v6 发布)以同时支持 Vue 2 和 Vue 3。如果您之前安装过 beta 版本的v6,您现在可以将其删除并安装稳定版本的扩展。
6464

6565
- [文档](https://devtools.vuejs.org/guide/installation.html)
66-
- [GitHub](https://github.com/vuejs/devtools)
66+
- [GitHub](https://github.com/vuejs/devtools)
67+
68+
69+
70+
### TypeScript 支持
71+
72+
您现在可以使用 [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc) 从命令行对 Vue SFC 进行类型检查和生成定义文件。
73+
或者您也可以参阅 [新文档中的 TypeScript 指南](https://cn.vuejs.org/guide/typescript/overview.html)
74+
75+
76+
77+
### 静态站点生成器
78+
79+
[VitePress](https://vitepress.vuejs.org/) 是 VuePress 的精神继承者,建立在 Vue 3 + Vite 之上。它提供了卓越的开发体验,还可以生成更快的站点。
80+
81+
82+
83+
### JSX
84+
85+
现在通过 [`@vue/babel-plugin-jsx`](https://github.com/vuejs/babel-plugin-jsx) 提供对于Vue3 中 JSX 的支持

0 commit comments

Comments
 (0)