Top "Vue-router" questions

Vue Router is a routing library for single-page applications designed for use with the Vue.

How to get current name of route in Vue?

I want to get the name of the current route of vue-router, i have a component menu with navigation to …

vue.js vue-router
How to get current route name in Nuxt.js?

I'm using Nuxt.js for building a static website. How to access in component's script code currently displayed route name (…

vue.js vuejs2 vue-component vue-router nuxt.js
vuejs application with different layouts (e.g. login layout, page layout, signup etc.)

I generated a project using vue-cli. I see project has one App.vue which is kinda main layout of the …

vue.js vue-router
how to use vue-router params

I'm new to vue now working with its router. I want to navigate to another page and I use the …

vuejs2 vue-router
VueJs vue-router linking an external website

This may be simple, but I've looked over documentation and can't find anything about it. I want to have my …

css vue.js vuejs2 vue-router routerlink
Open link in new window with Vuetify v-btn and Vue router

Recent versions of Vue Router allow for links that open in a new tab, e.g. the following <router-link :…

vue.js vuejs2 vue-router vuetify.js
Vue Router return 404 when revisit to the url

I just enable Vue router history mode. And it work fine when I visit to vue routing via v-href or …

vue.js vue-router
Vue Router this.$router.push not working on methods

i'm doing login, but after the login methods gets success, i'm pushing a route for the $router object and it's …

vue.js vue-router
Vue $route is not defined

I'm learning Vue router. And I want to made programmatic navigation without using <router-link> in templates file. My …

javascript vue.js vuejs2 vue-component vue-router
Passing props with programmatic navigation Vue.js

I have a Vue component that has a prop named 'title' e.g: <script> export default { props: ['title'], …

javascript vue.js vuejs2 vue-router