Skip to content

Commit a278066

Browse files
authored
Merge pull request #262 from viniciusdeliz/async-components-upstream-change
Async components upstream change
2 parents 97f4614 + d1b0595 commit a278066

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/migration/async-components.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ const asyncModalWithOptions = defineAsyncComponent({
5757
})
5858
```
5959

60-
::: tip NOTE
61-
Vue Router supports a similar mechanism for asynchronously loading route components, known as *lazy loading*. Despite the similarities, this feature is distinct from Vue's support for async components. You should **not** use `defineAsyncComponent` when configuring route components with Vue Router. You can read more about this in the [Lazy Loading Routes](https://next.router.vuejs.org/guide/advanced/lazy-loading.html) section of the Vue Router documentation.
60+
::: tip NOTA
61+
O Vue Router suporta um mecanismo similar para carregar componentes de rota de maneira assíncrona, conhecido como *lazy loading*. Apesar das similaridades, este recurso é distinto do suporte do Vue para componentes assíncronos. Você **não** deve usar `defineAsyncComponent` ao configurar componentes de rota com o Vue Router. Você pode ler mais sobre isso na seção [_Lazy Loading Routes_](https://next.router.vuejs.org/guide/advanced/lazy-loading.html) da documentação do Vue Router.
6262
:::
6363

6464
Outra mudança em relação a v2.x é a de que a opção `component` foi renomeada para `loader` a fim de comunicar com precisão que uma definição de componente não pode ser fornecida diretamente.

0 commit comments

Comments
 (0)