.A performance concentrated Vue slide carousel made for SSR/SSG atmospheres. No JS is made use of to format the slide carousel or it's slides. The objective is to boost LCP and CLS scores due to the fact that there is no format or even markup changes when JS hydates. It's mainly developed for making "card" type slides (like for connecting to write-ups or products) where the carousel-ness is actually conditionally administered based upon the number of cards that are actually slotted in in addition to the viewport size.Browse through the demo: https://vue-ssr-carousel.netlify.app.Install.yarn incorporate vue-ssr-carousel.Nonpayment.import 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 additional examples, observe the trial: https://vue-ssr-carousel.netlify.app.Tips.If your slides are generated along with v-for, utilize crucial values that are actually based upon the records you are actually looping via. In short, carry out v-for=" slide in slides": trick=' slide.id' somewhat that v-for=" slide, mark in slides": trick=' mark'.Do not use v-if on the origin component of slide parts.API.Props.Slots.Slots.Summary.nonpayment.Where your slides get infused.back-arrow.Switch out the default back image. Slot props:.handicapped - Accurate if at first webpage when certainly not knotting.next-arrow.Replace the default upcoming image. Slot props:.disabled - True if at last webpage when certainly not knotting.dot.Switch out the default pagination dots. Port props:.index - The page index that the dot embodies.disabled - True if dot works with present web page.Techniques.Procedures.Summary.following().Move forward a page or even slide, depending upon the paginate-by-slide set.back().Return a web page or slide, depending upon the paginate-by-slide uphold.goto( mark).Most likely to a mark. If paginate-by-slide is actually false, this relates to a page balanced out. If correct, this translates to a slide made up for.Occasions.See https://vue-ssr-carousel.netlify.app/events.Occasions.Explanation.change( mark ).Shot when the internal mark counter modifications.input.Like modification but planned for make use of with v-model.press.Shot on computer mouse or even touch down.launch.Fired on computer mouse or retouch.drag: start.Shot on beginning of tugging.burden: end.Fired on end of tugging.tween: beginning( mark ).Discharged when the carousel starts tweening to it is actually last placement.tween: edge( index ).Discharged when the slide carousel has ended up tweening to it is actually location.