Nuxt/examples/with-vuetify/pages/about.vue
2018-08-21 13:10:50 +02:00

19 lines
449 B
Vue

<template>
<v-carousel>
<v-carousel-item v-for="(src, i) in images" :src="src" :key="i"/>
</v-carousel>
</template>
<script>
export default {
data: () => ({
images: [
'https://cdn.vuetifyjs.com/images/carousel/squirrel.jpg',
'https://cdn.vuetifyjs.com/images/carousel/sky.jpg',
'https://cdn.vuetifyjs.com/images/carousel/bird.jpg',
'https://cdn.vuetifyjs.com/images/carousel/planet.jpg'
]
})
}
</script>