<ul>
<li v-for="item in items">{{ item }}</li>
</ul>
data: {
items: ['Item 1', 'Item 2', 'Item 3']
}
<ul>
<li v-for="item in items">{{ item }}</li>
</ul>
data: {
items: ['Item 1', 'Item 2', 'Item 3']
}
Related
How to use transitions in Vue.js for animation? |
How to pass data between parent and child components in vue? |
How to perform asynchronous operations in Vue.js? |
How to use mixins in Vue.js? |
How to emit custom events from child components to parent components in vue? |
How to use filters in Vue.js? |
How to use Vue Router for navigation? |
How to handle transitions between routes in Vue.js? |
