vuejs / docs-next-zh-cn

:cn: Chinese translation for v3.vuejs.org
https://v3.cn.vuejs.org
MIT License
950 stars 849 forks source link

docs: Supplementary explanation of suspense usage #868

Closed Volcano-Yang closed 2 years ago

Volcano-Yang commented 2 years ago

Description of Problem

在我阅读文档的时候,发现自己和一些其他使用者,会误以为suspense和async setup是在一个子组件文件中使用的。所以我补充了一下suspense的使用文档,强调了下suspense应该用在父级组件。

When I read the documentation, I found myself and some other users mistakenly thinking that suspense and async setup are used in a subcomponent file. So I added the suspense documentation, emphasizing that suspense should be used in parent components.

Justineo commented 2 years ago

这里只处理与原文的同步翻译,并且我们已经在进行新版文档的翻译,届时这里的版本将被替换。