Answer the question
In order to leave comments, you need to log in
How to hide the router element in the home directory?
There is such a code, when the transition occurs in /add
, you need to make it router-link to="/add"
disappear. How to do it?
<router-link to="/">
<img src="../assets/logo.png" alt="Logotype" class="logo mr-2">
<a class="navbar-brand" href="#">
Sale JS
</a>
</router-link>
<router-link to="/add">
<button class="btn btn-success link-add">
<i class="fa fa-plus"></i>
</button>
</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