Nuxt/examples/with-vuetify/pages/about.vue

19 lines
477 B
Vue
Raw Normal View History

2017-06-19 23:04:23 +00:00
<template>
<v-carousel>
<v-carousel-item v-for="(src, i) in images" :src="src" :key="i"/>
2017-06-19 23:04:23 +00:00
</v-carousel>
</template>
<script>
export default {
data: () => ({
images: [
'https://vuetifyjs.com/static/doc-images/carousel/squirrel.jpg',
'https://vuetifyjs.com/static/doc-images/carousel/sky.jpg',
'https://vuetifyjs.com/static/doc-images/carousel/bird.jpg',
'https://vuetifyjs.com/static/doc-images/carousel/planet.jpg'
]
})
}
</script>