Skip to content

Commit d04973a

Browse files
committed
translation: add todos
1 parent a289ca8 commit d04973a

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

.vitepress/locales/zh.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export default {
1111
prev: '上一页',
1212
next: '下一页',
1313
},
14+
outlineTitle: '本页目录',
1415
nav: [
1516
{ text: 'Vue 3 文档', link: 'https://cn.vuejs.org' },
1617
],
@@ -22,7 +23,7 @@ export default {
2223
{ text: '新的推荐', link: '/zh/recommendations' },
2324
{ text: '迁移构建', link: '/zh/migration-build' },
2425
{
25-
text: '破坏性改变',
26+
text: '非兼容性改变',
2627
link: '/zh/breaking-changes/'
2728
}
2829
]

src/zh/breaking-changes/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
# 破坏性改变
1+
# 非兼容性改变
2+
3+
此页面列出了 Vue 2 对 Vue 3 的所有非兼容性改变。
4+
5+
虽然 Vue 看起来已经发生了很多变化,但您所了解和喜爱的 Vue 的很多东西仍然没有变;但我们希望尽可能完整的为每个记录的更改提供详细的解释和示例。
6+
7+
<!-- TODO -->

src/zh/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
# Vue 3 迁移指南
22

3-
本指南主要针对有Vue 2经验的用户,他们希望了解Vue 2和Vue 3之间的变化。 **在使用Vue 3之前,你不需要从头到尾阅读这篇文章。** 学习Vue 3的推荐方法是阅读[新的文档](https://cn.vuejs.org)
3+
本指南主要针对有 Vue 2经验的用户,他们希望了解 Vue 2和 Vue 3之间的变化。 **在使用 Vue 3之前,你不需要从头到尾阅读这篇文章。** 学习 Vue 3的推荐方法是阅读[新的文档](https://cn.vuejs.org)
4+
5+
<!-- TODO -->

src/zh/recommendations.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
# 新的框架级别推荐
22

3-
Vue 3的支持库进行了重大更新。以下是新的默认建议的摘要:
3+
Vue 3 的支持库进行了重大更新。以下是新的默认建议的摘要:
44

55
- 新版本的 Router, Devtools & test utils 来支持 Vue 3
66
- 构建工具: Vue CLI -> [Vite](https://vitejs.dev/)
77
- 状态管理: Vuex -> [Pinia](https://pinia.vuejs.org/)
88
- IDE 插件支持: Vetur -> [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
99
- 新的 TypeScript 命令行工具: [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc)
1010
- 静态网站生成: VuePress -> [VitePress](https://vitepress.vuejs.org/)
11-
- JSX: `@vue/babel-preset-jsx` -> [`@vue/babel-plugin-jsx`](https://github.com/vuejs/jsx-next)
11+
- JSX: `@vue/babel-preset-jsx` -> [`@vue/babel-plugin-jsx`](https://github.com/vuejs/jsx-next)
12+
13+
14+
<!-- TODO -->

0 commit comments

Comments
 (0)