vue引入vue-awesome-swiper报错

有些这样
import VueAwesomeSwiper from ‘vue-awesome-swiper’
import 'swiper/dist/css/swiper.css’不报错,有些会报错就这样引入
import VueAwesomeSwiper from “vue-awesome-swiper”;
import ‘vue-awesome-swiper/node_modules/swiper/dist/css/swiper.css’

你可能感兴趣的:(前端)