I'm looking to pass a variable down to a component in my current setup. Here's the structure:
Main: Meet.vue
<html>
<div class="carousel-cell">
<Category :searchTerm="woman"></Category>
</div>
<div class="carousel-cell">
<Category :searchTerm="men"></Category>
</div>
[..]
<script>
import Category from './Category'
export default {
components: {
Category
},
Sub: Category.vue:
export default {
data () {
return {
search: [what's the best way to retrieve the **searchTerm** value here?]
How can I access the searchTerm value
<Category :searchTerm="woman"></Category>
defined in Meet.vue within Category.vue?