Last active
February 15, 2017 14:19
-
-
Save andreipfeiffer/821dbc8740194d6d6e4c07f7b52f58b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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