Skip to content
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
@bhojkamal

Description

@bhojkamal

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions