.An efficiency focused Vue slide carousel created for SSR/SSG settings. No JS is used to layout the carousel or even it is actually slides. The objective is to improve LCP and also CLS scores considering that there is actually no design or profit modifications when JS hydates. It's mainly made for rendering "card" design slides (like for connecting to articles or even products) where the carousel-ness is actually conditionally used based on the amount of cards that are slotted in in addition to the viewport distance.Look into the trial: https://vue-ssr-carousel.netlify.app.Set up.yarn include vue-ssr-carousel.Nonpayment.import SsrCarousel coming from 'vue-ssr-carousel'.bring in ssrCarouselCss coming from 'vue-ssr-carousel/index. css'.Vue.component 'ssr-carousel', SsrCarousel.Nuxt.// nuxt.config.js.export nonpayment buildModules: [' vue-ssr-carousel/nuxt']Consumption.Slide 1.Slide 2.Slide 3.For additional examples, observe the demonstration: https://vue-ssr-carousel.netlify.app.Tips.If your slides are produced with v-for, utilize crucial values that are actually based upon the data you are actually looping via. In short, perform v-for=" slide in slides": key=' slide.id' somewhat that v-for=" slide, index in slides": key=' mark'.Do not make use of v-if on the origin component of slide parts.API.Props.Ports.Slots.Explanation.default.Where your slides acquire administered.back-arrow.Change the default back icon. Slot props:.disabled - Real if initially page when certainly not looping.next-arrow.Change the default upcoming icon. Slot props:.impaired - Correct if finally page when not knotting.dot.Change the nonpayment pagination dots. Slot props:.index - The page mark that the dot stands for.disabled - Accurate if dot represents existing page.Methods.Strategies.Explanation.next().Move forward a page or even slide, depending on the paginate-by-slide set.back().Go back a page or slide, depending upon the paginate-by-slide set.goto( index).Go to a mark. If paginate-by-slide is untrue, this translates to a page offset. If correct, this equates to a slide countered.Activities.View https://vue-ssr-carousel.netlify.app/events.Occasions.Explanation.adjustment( mark ).Fired when the internal mark counter modifications.input.Like modification however intended for usage with v-model.push.Shot on computer mouse or even contact down.release.Shot on mouse or touch up.pain: start.Shot on beginning of yanking.drag: end.Fired on end of pulling.tween: begin( index ).Discharged when the slide carousel begins tweening to it's ultimate placement.tween: edge( mark ).Fired when the carousel has actually finished tweening to it is actually location.