4

compiler says Can't resolve 'swiper' even though I have installed the latest version of swiper and I am also importing the files just like what the offical website says. I am using react.

import { Navigation, Pagination, Scrollbar, A11y } from 'swiper';

import { Swiper, SwiperSlide } from 'swiper/react';
// Import Swiper styles
import 'swiper/css';
import 'swiper/css/navigation';
import 'swiper/css/pagination';
import 'swiper/css/scrollbar';
Ruchi Ray
  • 157
  • 1
  • 2
  • 10
  • Duplicate:Find the answers here if you still troubled. https://stackoverflow.com/questions/69202975/module-not-found-cant-resolve-swiper-react – Webmaster247 Nov 01 '21 at 16:54

0 Answers0