Skip to content

Instantly share code, notes, and snippets.

@sankita15
Created June 6, 2022 16:59
Show Gist options
  • Save sankita15/c34a4690ea415b854731960cf6752f4d to your computer and use it in GitHub Desktop.
Save sankita15/c34a4690ea415b854731960cf6752f4d to your computer and use it in GitHub Desktop.
<template>
<Child1 v-model:firstDropdownValue="firstDropdownValue"
v-model:secondDropdownValue="secondDropdownValue"/>
<Child2 />
<Child3 />
</template>
<script>
export default {
data() {
return {
firstDropdownValue: '',
secondDropdownValue: '',
child2Data: {},
child3Data: []
}
},
methods: {
submit() {
// use all child data here
}
}
}
</script>
<style scoped>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment