This repository was archived by the owner on Feb 24, 2023. It is now read-only.
This repository was archived by the owner on Feb 24, 2023. It is now read-only.
vue-agile doesn't work on my vue3 #236
Open
Description
I'm using vue 3 with composition I tried to implement this package but it didn't worked for me.
On template I have this
<div v-if="banners">
<agile>
<div v-for="banner in banners" :key="banner.id">
<img :src="banner.image" class="slide" :alt="banner.title" />
</div>
</agile>
</div>
script like this
<script>
import axios from "axios";
import { ref } from "vue";
import { VueAgile } from "vue-agile";
export default {
name: "home",
components: {
agile: VueAgile,
},
setup() {
const banners = ref([]);
.
.
.
},
};
</script>
If something wrong here, can you please suggest me?