Skip to content

Instantly share code, notes, and snippets.

@danomanion
Last active March 7, 2019 15:35
Embed
What would you like to do?
Vue.js
<div id="app">
<ul>
<li v-for="item in items">
{{ item }}
</li>
</ul>
</div>
new Vue({
el: '#app',
data: {
items: [
'one',
'two',
'three',
'four'
]
}
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.8/vue.min.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment