Skip to content

Instantly share code, notes, and snippets.

@velopert
Created Jan 21, 2017
Embed
What would you like to do?
<template>
<div class="list-container">
<ul v-if="items.length">
<li v-for="item in items">
{{ item.name }}
</li>
</ul>
<p v-else>No items found.</p>
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment