You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
741 B
46 lines
741 B
<template>
|
|
<div id="app">
|
|
<Carousel :images="images" />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import Carousel from './components/Carousel';
|
|
|
|
export default {
|
|
name: 'App',
|
|
components: {
|
|
Carousel
|
|
},
|
|
data: function() {
|
|
return {
|
|
images: [
|
|
{
|
|
src: "/img/image_01.jpg",
|
|
title: "Obrázek 1"
|
|
},
|
|
{
|
|
src: "/img/image_02.jpg",
|
|
title: "Obrázek 2"
|
|
},
|
|
{
|
|
src: "/img/image_03.jpg",
|
|
title: "Obrázek 3"
|
|
},
|
|
{
|
|
src: "/img/image_04.jpg",
|
|
title: "Obrázek 4"
|
|
},
|
|
{
|
|
src: "/img/image_05.jpg",
|
|
title: "Obrázek 5"
|
|
}
|
|
],
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|