Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

398
Vistas
How to use SwiperJS (npm package) in VueJS (CDN)

I have basic problem, but i don't know, how to solve it.

I am using Twig templates, where SwiperJS is installed via npm. I import all Swiper dependencies which I needed, to app.js. Where is no Vue, swiper works absolutely fine.

BUT on one Twig template I am using VueJS via CDN for entire page. Vue is working fine, all Swiper styles working fine too, but scripts for swiping not.

I know the problem - this swiper is #app (it has to be there) and thats the reason, why is it not working.

Can some help me, how to solve this?

FYI I cant use import.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

In my opinion on this page you can try to use vue-awesome-swiper whcih will not create problems. https://www.npmjs.com/package/vue-awesome-swiper

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda