<template> <h2>Example v-for Directive</h2> <p>Using the v-for directive with number to render a list with that number of elements.</p> <ul> <li v-for="(x, index) in 10">Item: {{ x }}, index: {{ index }}</li> </ul> </template>
import { createApp } from 'vue' import App from './App.vue' const app = createApp(App) app.mount('#app')