standards-hub / docs

A documentation template made with Nuxt UI Pro.
https://standards-hub.github.io/docs/
0 stars 0 forks source link

Issue 86 carousel #98

Closed FroudeDescartes closed 6 months ago

FroudeDescartes commented 6 months ago

@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?


image

FroudeDescartes commented 6 months ago

NOTE

This PR needs to be active, but by mistake it has been closed. Issue still not resolved.