老师请问我运行安装了swiper 以后运行服务报错: ERROR Failed to compile with 1 errors
来源:7-4 Vue项目首页 - 首页轮播图
箭在弦上憋而不发
2020-10-16
This dependency was not found:
- swiper/dist/css/swiper.css in ./src/main.js
- To install it, you can run: npm install --save swiper/dist/css/swiper.css
- 请问是什么问题呢
写回答
2回答
-
新版swiper插件找不到swiper.css 解决方案: import 'swiper/swiper-bundle.css';试试这个
012020-10-21 -
Dell
2020-10-17
楼上正解
00
相似问题