SwiperJs1 [React 오답노트] 리액트에서 Swiperjs 사용하기 Swiperjs를 사용하여, 일정 간격으로 자동으로 넘어가는 이미지 슬라이드 만들기 * 먼저 파일 내에 swiperjs를 설치해 주어야 한다. npm i swiper swiperjs.jsx -> 슬라이드를 구현해줄 코드 // Import Swiper React components import { Swiper, SwiperSlide } from "swiper/react"; // Import Swiper styles import "swiper/css"; import "swiper/css/pagination"; import "./slideStyle.css"; // import required modules import { Autoplay, Pagination } from "swiper"; expo.. 2023. 1. 20. 이전 1 다음