I have a data where I am using loop. Admin will see a pop up if s/he clicks on the user section. I have following code:
In user list page
<template>
   <header class="headings">
    <div class="headings_title">
        <h3 class="text-center"> User List</h3>
        <div class="text-center" v-for="user in users" :key="user.id">
          <div class="user-section" @click="showModel">
            <User :user="user"/>
          </div>
       </div>
    </div>
   </header>
</template>
The User component is working and user name, address has been displayed. But if the admin clicks on the particular user s/he has to be able to see other information related to the user s/he clicks. I want to pass user data in the modal also so that I can show other details related to the user. How can I do that?
 
     
    