Skip to content

Commit 8100d12

Browse files
authored
Update built-in-components.md
Translated from English to Portuguese.
1 parent 341ce93 commit 8100d12

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/api/built-in-components.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# Componentes Integrados
22

3-
Built-in components can be used directly in templates without needing to be registered.
3+
Os componentes integrados podem ser usados diretamente em modelos sem a necessidade de registro.
44

5-
The `<keep-alive>`, `<transition>`, `<transition-group>`, and `<teleport>` components can all be tree-shaken by bundlers, so that they are only included in the build if they're used. They can also be imported explicitly if you need direct access to the component itself:
5+
Os componentes `<keep-alive>`, `<transition>`, `<transition-group>`, e `<teleport>` podem ser todos modificados por bundlers (empacotadores), de modo que só são incluídos na construção se eles são usados. Eles também podem ser importados explicitamente se você precisar de acesso direto ao próprio componente:
66

77
```js
8-
// CDN build of Vue
8+
// Compilação CDN do Vue
99
const { KeepAlive, Teleport, Transition, TransitionGroup } = Vue
1010
```
1111

1212
```js
13-
// ESM build of Vue
13+
// Compilação ESM do Vue
1414
import { KeepAlive, Teleport, Transition, TransitionGroup } from 'vue'
1515
```
1616

17-
`<component>` and `<slot>` are component-like features of template syntax. They are not true components and they can't be imported like the components shown above.
17+
`<component>` e `<slot>` são recursos semelhantes a sintaxe de template de componentes. Eles não são componentes verdadeiros e não podem ser importados como os componentes mostrados acima.
1818

1919
## component
2020

@@ -41,7 +41,7 @@ import { KeepAlive, Teleport, Transition, TransitionGroup } from 'vue'
4141
<component :is="href ? 'a' : 'span'"></component>
4242
```
4343

44-
The built-in components `KeepAlive`, `Transition`, `TransitionGroup`, and `Teleport` can all be passed to `is`, but you must register them if you want to pass them by name. For example:
44+
Os componentes integrados `KeepAlive`, `Transition`, `TransitionGroup`, e `Teleport` podem ser passados para `is`, mas você deve registra-los se quiser transmiti-los por nome. Por exemplo:
4545

4646
```js
4747
const { Transition, TransitionGroup } = Vue
@@ -60,7 +60,7 @@ import { KeepAlive, Teleport, Transition, TransitionGroup } from 'vue'
6060
}
6161
```
6262

63-
Registration is not required if you pass the component itself to `is` rather than its name.
63+
O registro não será necessário se você passar o próprio componente para `is` invés de seu nome.
6464

6565
- **Ver também:** [Componentes Dinâmicos](../guide/component-dynamic-async.html)
6666

0 commit comments

Comments
 (0)