【问题标题】:I am trying to use Swiper, but it shows problem. I have done all steps as shown in Swiper Vue js. Hope you answer我正在尝试使用 Swiper,但它显示了问题。我已经完成了 Swiper Vue js 中显示的所有步骤。希望你回答
【发布时间】:2022-07-08 16:22:17
【问题描述】:

未找到这些依赖项:

  • ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1! 中的 swiper/css。 /src/components/Clients.vue?vue&type=script&lang=js
  • ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1! 中的 swiper/vue。 /src/components/Clients.vue?vue&type=script&lang=js

要安装它们,您可以运行:npm install --save swiper/css swiper/vue

但它是这样显示的

【问题讨论】:

    标签: javascript html vue-cli


    【解决方案1】:

    用户导入'swiper/swiper-bundle.css'

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-10-17
      • 2022-07-23
      • 1970-01-01
      • 2022-11-20
      • 2021-12-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多