I am having Vue Application and I am loading different child component's based on the values selected from parent component . When I am clicking on submit button which is in parent component I want to get all the values of child component into parent.
<template>
<div>
<v-select v-model="category"/>
<firstComponent v-show="category == 1">
<secondComponent v-show="category == 2">
<v-btn @click="submitData">Submit</v-btn>
</div></template>
Please ignore syntax. I want all the input field data of child component into submitData method of parent component.
vuex
? – wheelmaker