[Vuejs]-I need help for my navbar with VueJS

0👍

you can use $route.name :

<nav v-if="$route.name != 'login'"> </nav>

‘login’ : change it with the name of your login page.

here an example : https://github.com/vuejs/vue-router/issues/254

Leave a comment