.A functionality concentrated Vue slide carousel made for SSR/SSG settings. No JS is made use of to style the carousel or it is actually slides. The target is actually to enhance LCP as well as CLS credit ratings due to the fact that there is actually no design or even markup modifications when JS hydates. It is actually mainly created for leaving "memory card" type slides (like for linking to short articles or even items) where the carousel-ness is actually conditionally administered based on the variety of cards that are actually slotted in in addition to the viewport distance.Visit the demonstration: https://vue-ssr-carousel.netlify.app.Put in.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 default buildModules: [' vue-ssr-carousel/nuxt']Utilization.Slide 1.Slide 2.Slide 3.For additional examples, view the demonstration: 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 knotting via. In short, do v-for=" slide in slides": secret=' slide.id' rather that v-for=" slide, index in slides": trick=' index'.Don't utilize v-if on the origin element of slide components.API.Props.Slots.Slots.Explanation.nonpayment.Where your slides get injected.back-arrow.Change the nonpayment back image. Port props:.handicapped - Real if initially webpage when certainly not knotting.next-arrow.Substitute the nonpayment next image. Slot props:.disabled - True if finally page when not looping.dot.Substitute the default pagination dots. Port props:.mark - The page mark that the dot stands for.impaired - Real if dot represents current web page.Techniques.Approaches.Description.following().Go forward a web page or even slide, depending upon the paginate-by-slide uphold.back().Get back a page or slide, depending on the paginate-by-slide set.goto( mark).Most likely to a mark. If paginate-by-slide is actually false, this corresponds to a web page made up for. If true, this translates to a slide made up for.Activities.View https://vue-ssr-carousel.netlify.app/events.Occasions.Explanation.improvement( mark ).Axed when the interior index counter modifications.input.Same as change however wanted for make use of with v-model.push.Shot on computer mouse or even touch down.release.Fired on computer mouse or even patch up.nuisance: beginning.Shot on begin of pulling.drag: end.Shot on end of pulling.tween: start( mark ).Fired when the carousel begins tweening to it is actually final placement.tween: edge( mark ).Terminated when the carousel has completed tweening to it is actually destination.