LEARNING BY VUEING

Render lists
21 / 42

We render lists using the v-for directive.

The key attribute is a way to hint the order of the items in the list. It's always recommended to provide it.

If you don't need the index, you can simply write v-for="city in cities". Try it out in the editor!