s3e39 enumerate
This commit is contained in:
parent
250024e34b
commit
f5d55427cb
@ -8,8 +8,8 @@
|
||||
<body>
|
||||
<div id='app'>
|
||||
<ul>
|
||||
<li v-for="ingredient in ingredients">
|
||||
{{ ingredient }}
|
||||
<li v-for="(ingredient, i) in ingredients">
|
||||
({{i+1}}) {{ ingredient }}
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user