<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 handle routing in a Vue.js application using Vue Router? |
How to dynamically load components in Vue.js? |
How to use mixins in Vue.js? |
How to handle global events in Vue.js? |
How to use filters in Vue.js? |
How to handle transitions between routes in Vue.js? |
How to emit custom events from child components to parent components in vue? |
How to integrate third-party libraries with Vue.js? |