Skip to content

Instantly share code, notes, and snippets.

@kevinnio kevinnio/v-for-4.html Secret
Created Apr 26, 2019

Embed
What would you like to do?
<div id="app">
<span v-for="n in 10" v-if="n % 2 == 0">{{ n }}</span>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script>
new Vue({ el: '#app' });
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.