Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

791
Views
No se encontró esta dependencia: *swiper/vue ¿cómo solucionarlo?

Me estoy rascando la cabeza porque ejecuté npm i swiper y leí los documentos de Swiper Vue y dice import { Swiper, SwiperSlide } from 'swiper/vue que he hecho e incluso obtuve el tamaño del paquete que muestra 95.4K (gzipped: 28.9K) .

Cuando ejecuto npm run serve , aparece este error

 This dependency was not found: * swiper/vue in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/views/Home.vue?vue&type=script&lang=js To install it, you can run: npm install --save swiper/vue

Por mi vida, no puedo entender cómo importar esa dependencia.

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Si está utilizando la versión 7* de swiper, podría enfrentar este tipo de problema.

Problema de Github 4871

Intente bajar a la v6.7.5, vea si eso ayuda.

Cuestión relacionada

over 4 years ago · Santiago Trujillo Report

0

Esto funcionó para mí, usando Vue ^3.0.0 y Swiper ^8.0.6

 import { Swiper, SwiperSlide } from "swiper/vue/swiper-vue"; import "swiper/swiper-bundle.css";
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!