pass data with routes vue code example
Example: vuejs pass data to router-view
// App.vue
<router-view name="bookBus" :model="model"></router-view>
// and use model as props in your view
// App.vue
<router-view name="bookBus" :model="model"></router-view>
// and use model as props in your view