@rubystream
I have managed to take Nuxt`s Carousel component and reuse it, so we can insert components inside of Carousel as well. As you can see, I have only managed to hardcode the values inside the ShCarousel component. That is clearly not the goal, but I am having difficulty to create a props that can be passed from our .md files to ShCarousel. Do you have any idea?
Update:
I see there is something about this in Nuxt documentation, how to pass objects as props but I am not being able to extract information correctly. Here is the image and this is the link
Additional Update:
Should I use reactive instead of ref in the line 18 of the code?
@rubystream I have managed to take Nuxt`s Carousel component and reuse it, so we can insert components inside of Carousel as well. As you can see, I have only managed to hardcode the values inside the ShCarousel component. That is clearly not the goal, but I am having difficulty to create a props that can be passed from our .md files to ShCarousel. Do you have any idea?
Update: I see there is something about this in Nuxt documentation, how to pass objects as props but I am not being able to extract information correctly. Here is the image and this is the link
Additional Update: Should I use
reactive
instead ofref
in the line 18 of the code?