.A functionality focused Vue carousel made for SSR/SSG atmospheres. No JS is used to style the slide carousel or even it is actually slides. The target is to enhance LCP as well as CLS credit ratings considering that there is actually no layout or profit adjustments when JS hydates. It is actually mostly made for making "memory card" style slides (like for linking to short articles or products) where the carousel-ness is conditionally administered based upon the amount of cards that are actually slotted in and also the viewport size.Browse through the demo: https://vue-ssr-carousel.netlify.app.Set up.yarn include 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 default buildModules: [' vue-ssr-carousel/nuxt']Usage.Slide 1.Slide 2.Slide 3.For additional instances, find the demo: https://vue-ssr-carousel.netlify.app.Tips.If your slides are actually produced along with v-for, use vital worths that are based on the data you are actually knotting with. Simply put, do v-for=" slide in slides": secret=' slide.id' instead that v-for=" slide, index in slides": trick=' index'.Don't make use of v-if on the origin component of slide elements.API.Props.Ports.Slots.Explanation.nonpayment.Where your slides get administered.back-arrow.Change the nonpayment back symbol. Port props:.handicapped - Accurate if in the beginning page when certainly not looping.next-arrow.Substitute the default next image. Slot props:.disabled - True if finally web page when not knotting.dot.Substitute the default pagination dots. Slot props:.mark - The web page mark that the dot represents.disabled - Real if dot works with current web page.Methods.Approaches.Explanation.following().Move forward a webpage or slide, depending upon the paginate-by-slide prop.back().Get back a webpage or slide, depending upon the paginate-by-slide set.goto( index).Go to an index. If paginate-by-slide is actually inaccurate, this translates to a webpage made up for. If true, this corresponds to a slide made up for.Occasions.View https://vue-ssr-carousel.netlify.app/events.Celebrations.Description.adjustment( index ).Discharged when the internal index counter improvements.input.Same as improvement but meant for usage along with v-model.press.Fired on computer mouse or contact down.launch.Shot on mouse or even repair.pain: start.Shot on beginning of moving.drag: end.Fired on end of tugging.tween: beginning( mark ).Fired when the carousel starts tweening to it's final placement.tween: end( index ).Axed when the slide carousel has actually finished tweening to it's place.