Last active
August 5, 2022 00:02
-
-
Save GoodNew5/1e261293df0ce648352fcf7e6b4c6ff4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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