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

267
Views
Creating a modal component using vuejs

I'm new in VueJS I start creating a modal from scratch and i would like to know how can i add Close modal functionality (I would like to use the modal as a component )

This is my code :

<template>
    <div class="rightbar shadow-sm">
        <header class="px-3">
            <h5 class="rightbar-title">Modal Title</h5>
            <button>click to close</button>
        </header>
        <div class="rightbar-body p-3">
            
        </div>
    </div>
</template>
<script>

export default {
    data() {
        return {
           
        }
    },
    methods:{
        
    }
};
</script>

I would like to click on the close button to close the modal

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!