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

174
Views
¿Cómo configurar el menú de la barra lateral activo cuando se hace clic en vue.js?

Quiero configurar el menú de la barra lateral activo cuando se hace clic. Ahora solo el primer menú está seleccionado como activo. Si se seleccionan otros menús, el primer menú permanece como menú activo. ¿Cómo implementar esto?

Mi código:

 <div id="mobile_sidebar_display"> <div class="logo_section d-flex justify-content-center align-items-center" > <a v-on:click="closeSideDrawer" :href="base + '/'"> <img src="../../assets/images/logo_2.svg" class="w-100" /> </a> </div> <div style="height: 10px"></div> <a v-on:click="closeSideDrawer" class="sidebar_link active" :href="base + '/'" ><i class="fas fa-home"></i> <span class="ml-2">Home</span></a > <a v-on:click="closeSideDrawer" class="sidebar_link" href="#" ><i class="far fa-user"></i> <span class="ml-2">Courses</span></a > <router-link class="sidebar_link" to="/QuizGrid" ><i class="fas fa-puzzle-piece"></i> <span v-on:click="closeSideDrawer" class="ml-2" >Puzzles</span ></router-link > </div>
about 4 years ago · Juan Pablo Isaza
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!