Skip to content

Error: Can't resolve 'swiper/vue' and Can't resolve 'swiper/css' #5805

Answered by DenyskoD
iusx asked this question in Q&A
Discussion options

You must be logged in to vote

using webpack 4 you can import like this
import { Swiper, SwiperSlide } from 'swiper/swiper-vue.mjs';
import 'swiper/swiper.css';

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@iusx
Comment options

Comment options

You must be logged in to vote
1 reply
@iusx
Comment options

Answer selected by iusx
Comment options

You must be logged in to vote
1 reply
@huhhell
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
5 participants
Converted from issue

This discussion was converted from issue #5804 on June 17, 2022 13:40.