Swiper
[필수] INSTALL npm i swiper (npm으로만 인스톨 가능) [필수] IMPORT import { Swiper, SwiperSlide } from 'swiper/react' import SwiperCore, { Pagination, Autoplay } from 'swiper'; [필수] SWIPER CORE(부가기능 사용여부: pagination, autoplay 등) SwiperCore.use([ Pagination, Autoplay ]); [필수] CODE {BannerItems.map(item => { return ( ) })} 사용컴포넌트: Swiper, SwiperSlide PROPS: wrapperTag, spaceBetween, slidesPerView, autoplay, sp..
2020. 11. 2.