mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 02:07:14 +00:00
19 lines
477 B
Vue
19 lines
477 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://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>
|