<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 transitions between routes in Vue.js? |
Explain Vue.js directives like v-bind and v-on. |
How to pass data between parent and child components in vue? |
How to dynamically load components in Vue.js? |
How to handle global events in Vue.js? |
How to optimize performance in Vue.js applications? |
How to deploy a Vue.js application? |
How to handle asynchronous operations in Vuex actions? |
