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