ragnarlotus / vue-flux

Image slider which comes with 20 cool transitions

Home Page:https://ragnarlotus.github.io/vue-flux-docs/demos/demos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to point the images in public folder in laravel

nimabbasi opened this issue · comments

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"
       ]
   })

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

Many thanks