Answer the question
In order to leave comments, you need to log in
How to make nested "pages" in vue?
Hello! I started studying for a couple of days, I wanted to make a nested navigation like:
+home +Items
+subItems_link
The layout of the input component looks like this:
<template>
<body id="app">
<TheHeader></TheHeader>
<main class="b-content">
<transition name="slide-fade">
<router-view></router-view>
</transition>
</main>
<TheFooter/>
</body>
</template>
<router-link class="b-nav-item__link" to="/" exact>Home<router-link>
<router-link class="b-nav-item__link" to="/items">Items<router-link>
<router-link class="b-nav-item__link" to="/items/school">Items-school<router-link>
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