.A functionality centered Vue slide carousel designed for SSR/SSG atmospheres. No JS is used to layout the carousel or even it is actually slides. The objective is actually to enhance LCP and CLS ratings given that there is no style or markup adjustments when JS hydates. It is actually mainly made for providing "card" style slides (like for linking to posts or items) where the carousel-ness is actually conditionally administered based on the variety of cards that are slotted in in addition to the viewport size.Take a look at the demonstration: https://vue-ssr-carousel.netlify.app.Set up.yarn incorporate vue-ssr-carousel.Default.import SsrCarousel coming from 'vue-ssr-carousel'.bring in ssrCarouselCss 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 more examples, find the demo: https://vue-ssr-carousel.netlify.app.Tips.If your slides are generated along with v-for, make use of vital market values that are based on the records you are actually knotting by means of. Simply put, do v-for=" slide in slides": secret=' slide.id' somewhat that v-for=" slide, index in slides": secret=' mark'.Do not utilize v-if on the root element of slide components.API.Props.Ports.Slots.Description.nonpayment.Where your slides obtain infused.back-arrow.Change the default back image. Slot props:.impaired - Accurate if initially page when not looping.next-arrow.Substitute the default following symbol. Port props:.impaired - Accurate if at last webpage when not looping.dot.Change the default pagination dots. Port props:.index - The web page mark that the dot represents.impaired - Real if dot stands for current webpage.Strategies.Strategies.Description.following().Go forward a page or slide, depending on the paginate-by-slide set.back().Get back a page or even slide, relying on the paginate-by-slide set.goto( index).Go to a mark. If paginate-by-slide is inaccurate, this corresponds to a webpage made up for. If correct, this translates to a slide made up for.Occasions.See https://vue-ssr-carousel.netlify.app/events.Celebrations.Description.change( mark ).Axed when the internal index counter modifications.input.Same as modification yet planned for usage with v-model.push.Shot on mouse or even contact down.release.Shot on mouse or even patch up.drag: start.Shot on beginning of moving.bother: end.Fired on end of pulling.tween: begin( mark ).Fired when the slide carousel starts tweening to it is actually final position.tween: end( mark ).Axed when the slide carousel has actually completed tweening to it's place.