s3e39 enumerate

This commit is contained in:
Tyrel Souza 2018-04-13 23:01:44 -04:00
parent 250024e34b
commit f5d55427cb
No known key found for this signature in database
GPG Key ID: 5A9394D4C30AEAC0

View File

@ -8,8 +8,8 @@
<body> <body>
<div id='app'> <div id='app'>
<ul> <ul>
<li v-for="ingredient in ingredients"> <li v-for="(ingredient, i) in ingredients">
{{ ingredient }} ({{i+1}}) {{ ingredient }}
</li> </li>
</ul> </ul>
</div> </div>