Skip to content

Instantly share code, notes, and snippets.

@GoodNew5
Last active August 5, 2022 00:02
Show Gist options
  • Save GoodNew5/1e261293df0ce648352fcf7e6b4c6ff4 to your computer and use it in GitHub Desktop.
Save GoodNew5/1e261293df0ce648352fcf7e6b4c6ff4 to your computer and use it in GitHub Desktop.
<template>
<swiper
class="profile-modal-tabs__slider"
:options="sliderOptions"
>
<div class="swiper-slide">
1
</div>
<div class="swiper-slide">
2
</div>
</swiper>
</template>
<script>
import { mapGetters } from 'vuex'
export default {
name: 'profile-modal-tabs',
created () {
this.sliderOptions = {
loop: false,
slidesPerView: 'auto',
slideToClickedSlide: false
}
}
}
</script>
<style src="./style.scss" lang="scss" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment