Skip to content

Commit 06e4f95

Browse files
authored
Merge pull request #26 from paulorievrs/patch-1
Update 2-Diretivas.md
2 parents a69af23 + fa27b21 commit 06e4f95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/tutorial/2-Conceitos/2-Diretivas.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Podemos encadear condições, parecido com a sintaxe de algumas linguagens como
8484
<template>
8585
<section>
8686
<p v-if="mostrar">1</p>
87-
<p v-else="mostrar">2</p>
87+
<p v-else>2</p>
8888
<p>3</p>
8989
</section>
9090
</template>
@@ -181,7 +181,7 @@ o **v-for** não altera a maioria das diretivas, podendo usar normalmente, por e
181181
```html
182182
<template>
183183
<section>
184-
<article v-for="(item, index) in list" :key="index">
184+
<article v-for="(item, index) in lista" :key="index">
185185
<p v-if="item.id % 2 === 0">Par</p>
186186
<p v-else>Ímpar</p>
187187
</article>
@@ -222,4 +222,4 @@ Desta forma podemos atrelar diretamente uma variável que receberá o valor de u
222222

223223
Na próxima seção, iremos falar sobre **computed properties** e **watchers**, mostrando como podem ser úteis durante o seu desenvolvimento, te esperamos lá! :)
224224

225-
[Próxima Seção](./3-Computed%20e%20Watch.md)
225+
[Próxima Seção](./3-Computed%20e%20Watch.md)

0 commit comments

Comments
 (0)