You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/guide/component-basics.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -406,17 +406,17 @@ Isso é tudo que você precisa saber sobre componentes dinâmicos por hora mas,
406
406
407
407
## Ressalvas na Análise do _template_ DOM
408
408
409
-
If you are writing your Vue templates directly in the DOM, Vue will have to retrieve the template string from the DOM. This leads to some caveats due to browsers' native HTML parsing behavior.
409
+
Se você estiver escrevendo seus _templates_Vue diretamente no DOM, o Vue terá que recuperar a string do _template_ do DOM. Isso leva a algumas ressalvas devido ao comportamento da análise de HTML nativo dos navegadores.
410
410
411
-
:::tip
412
-
It should be noted that the limitations discussed below only apply if you are writing your templates directly in the DOM. They do NOT apply if you are using string templates from the following sources:
411
+
:::tip Nota
412
+
Deve-se observar que as limitações discutidas abaixo se aplicam apenas se você estiver escrevendo seus _templates_ diretamente no DOM. Eles NÃO se aplicam se você estiver usando _templates_ em string das seguintes fontes:
Alguns elementos HTML, como `<ul>`, `<ol>`, `<table>` e `<select>` têm restrições do que pode aparecer dentro deles, e alguns elementos como `<li>`, `<tr>`, e `<option>` podem aparecer apenas dentro de certos elementos.
422
422
@@ -436,8 +436,8 @@ O componente `<blog-post-row>` será removido como um conteúdo inválido, causa
436
436
</table>
437
437
```
438
438
439
-
:::tip
440
-
When used on native HTML elements, the value of`is`must be prefixed with`vue:`in order to be interpreted as a Vue component. This is required to avoid confusion with native [customized built-in elements](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example).
439
+
:::tip Nota
440
+
Quando usado em elementos HTML nativos, o valor de`is`deve ser prefixado com`vue:`para ser interpretado como um componente Vue. Isso é necessário para evitar confusão com [elementos integrados personalizados](https://html.spec.whatwg.org/multipage/custom-elements.html#custom-elements-customized-builtin-example) nativos.
0 commit comments