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

116
Views
How do I get the ripple effect work in Varlet UI?

I am using Vue v3.2.20 with Varlet UI v1.25.0 and Bootstrap 5 in my project. So far everything worked well, but I can't get the ripple effect working anywhere, even on the buttons. I don't get any errors or warnings in the console. A simple button declaration like this:

<var-button type="primary">Add</var-button>

shows up a default button without the ripple effect. I imported the framework in main.js as so:

import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import Varlet from '@varlet/ui'
import '@varlet/ui/es/style.js'

createApp(App).use(router).use(Varlet).mount('#app')

Also, I tried to add the ripple effect manually on a div per this documentation, still no luck.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It appeared that Varlet UI worked differently on mobile and desktop environments, so all I needed to do in order to get the ripple effect work on desktop was to install the touch emulator:

npm i @varlet/touch-emulator

as per the guide

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!