Skip to content

Commit b654b1d

Browse files
committed
translation: add how to use the Vuex 4.0 to support Vue3
1 parent 444face commit b654b1d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/zh/recommendations.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ Pinia 是我们新推荐的大规模状态管理解决方案。 本来是作为
4747
- [GitHub](https://github.com/vuejs/pinia)
4848
- [Vue 新文档中状态管理章节](https://cn.vuejs.org/guide/scaling-up/state-management.html)
4949

50+
Vuex 4.0 还提供对于 Vue 3 的支持,其 API 与 3.x 大致相同,如果您有需要迁移到 Vue 3 的现有 Vuex tores,可以使用它。唯一的重大变化是 [插件的安装方式](https://vuex.vuejs.org/zh/guide/migrating-to-4-0-from-3-x.html#%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B)
51+

0 commit comments

Comments
 (0)