0👍
Based on the example from the docs, you could define a component prop
in comp-nav.vue
:
<template>
<div class="header-title">{{ title }}</div>
</template>
<script>
module.exports = {
props: ['title']
}
</script>
- [Vuejs]-How to push new values into array when checkbox is checked and remove when unchecked using Vue.js?
- [Vuejs]-Special loop for vuejs
Source:stackexchange.com