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

408
Views
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 answers
Answer question

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 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!