s3e39 enumerate
This commit is contained in:
parent
250024e34b
commit
f5d55427cb
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user