I need to pass down a variable to a component. My setup is like this:
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: [how to access the **searchTerm** here?]
How to access the searchTerm <Category :searchTerm="woman"></Category>
from Meet.vue in Category.vue?