mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
18 lines
499 B
Vue
18 lines
499 B
Vue
|
<template>
|
||
|
<v-carousel>
|
||
|
<v-carousel-item v-for="(src, i) in images" v-bind:src="src" :key="i"></v-carousel-item>
|
||
|
</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>
|