.A performance centered Vue carousel made for SSR/SSG atmospheres. No JS is made use of to layout the carousel or even it is actually slides. The target is actually to strengthen LCP as well as CLS scores since there is actually no layout or even profit improvements when JS hydates. It's largely made for making "memory card" design slides (like for linking to write-ups or even products) where the carousel-ness is conditionally applied based upon the number of memory cards that are actually slotted in along with the viewport distance.Take a look at the demonstration: https://vue-ssr-carousel.netlify.app.Mount.anecdote add vue-ssr-carousel.Default.bring in SsrCarousel from 'vue-ssr-carousel'.import ssrCarouselCss from 'vue-ssr-carousel/index. css'.Vue.component 'ssr-carousel', SsrCarousel.Nuxt.// nuxt.config.js.export nonpayment buildModules: [' vue-ssr-carousel/nuxt']Utilization.Slide 1.Slide 2.Slide 3.For more examples, see the demo: https://vue-ssr-carousel.netlify.app.Tips.If your slides are actually created along with v-for, make use of key worths that are actually based upon the records you are looping by means of. In short, perform v-for=" slide in slides": key=' slide.id' somewhat that v-for=" slide, index in slides": trick=' mark'.Do not utilize v-if on the root aspect of slide elements.API.Props.Slots.Ports.Explanation.default.Where your slides get injected.back-arrow.Switch out the default back icon. Port props:.handicapped - Accurate if initially web page when not knotting.next-arrow.Change the nonpayment next symbol. Slot props:.disabled - True if finally page when not looping.dot.Replace the nonpayment pagination dots. Port props:.index - The web page index that the dot represents.disabled - Accurate if dot works with present page.Techniques.Techniques.Summary.following().Go ahead a webpage or slide, relying on the paginate-by-slide prop.back().Return a web page or slide, depending upon the paginate-by-slide uphold.goto( mark).Head to an index. If paginate-by-slide is actually false, this translates to a web page made up for. If real, this relates to a slide made up for.Celebrations.Observe https://vue-ssr-carousel.netlify.app/events.Occasions.Description.change( mark ).Fired when the interior index counter improvements.input.Same as adjustment but wanted for usage along with v-model.press.Shot on mouse or even touch down.launch.Fired on mouse or patch up.bother: start.Fired on begin of dragging.burden: end.Shot on end of tugging.tween: beginning( mark ).Fired when the carousel begins tweening to it's final setting.tween: end( mark ).Terminated when the carousel has actually completed tweening to it's place.