ragnarlotus / vue-flux

Image slider which comes with 20 cool transitions
https://ragnarlotus.github.io/vue-flux-docs/demos/demos
MIT License
542 stars 49 forks source link

How to point the images in public folder in laravel #80

Closed nimabbasi closed 4 years ago

nimabbasi commented 4 years ago

How do i point the pictures in my public folder to connect to this image slider

 data: () => ({
        vfOptions: {
            autoplay: true
        },
        vfImages: [
            "public/img/slider/01.jpg",
            "public/img/slider/01.jpg",
            "public/img/slider/01.jpg"
        ],
        vfTransitions: ["fade", "cube", "book", "wave"],
        vfCaptions: [
            "Caption for image 1",
            "Caption for image 2",
            "Caption for image 3"
        ]
    })
calpayne commented 4 years ago

What you have may work if you remove the "public" part as there is no "public" in a Laravel URL, only the file structure.

If all else fails, you can have full URLs like https://localhost:8000/img/slider/01.jpg

nimabbasi commented 4 years ago

Many thanks