Check out example codes for "ionic slidesperview not working". It will help you in understanding the concepts better.

Code Example 1

.swiper-slide {
    width: auto;
}

Learn ReactJs, React Native from akashmittal.com