Answer the question
In order to leave comments, you need to log in
How to place multiple components on the same route (Vue)?
There is a component in which the submenu is located (in the code it is SubMenuExhibitions, the list of menus is passed to it)
<template>
<div class="container">
<h1>Exhibitions</h1>
<SubMenuExhibitions
v-bind:sub_menu="this.sub_menu"
v-bind:current_url="this.current_url"
/>
<router-view></router-view>
</div>
</template>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question