Top "Vue-router" questions

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

Add event listener to <router-link> component using "v-on:" directive - VueJS

I'm attempting to add a custom handler InlineButtonClickHandler to a <router-link> component's click event, so that I can …

vuejs2 vue.js vue-router
vue-router redirect to default path issue

I want to default to a specific page when user navigates to the root path ie when used goes to …

vue.js vuejs2 vue-router
Adding Routing to a Vue.js cli 3.0 app

The new Vue.js 3.0 plugin architecture is nice, but it seems to to be missing a router plugin. If I …

vue.js vue-router vue-cli
How to load external html file in a template in VueJs

I'm new to vue js. I'm just creating a simple project where I just include vuejs through CDN. not using …

vue.js vuejs2 vue-component vue-router
How to change page titles when using vue-router?

I would like to specify my titles within the route definition if possible. What is normally specified in <head&…

vue.js vuejs2 vue-router
How to create dynamic tag based on props with Vue 2

How can I make a component similar to vue-router router-link where I get the tag via props to render my …

vue.js vuejs2 vue-router
VueJS | How to get access to Router Parameter in my Component

I tried to get access to my parameter :id in my Entry component. I tried it with props but it …

vue.js vuejs2 vue-router
How to Properly Use Vue Router beforeRouteEnter or Watch to trigger method in Single File Component?

I'm working on an app in Vue.js using Single File Components and Vue Router. I have a Search component …

vue.js components watch vue-router
Vue-router reload component

I have a few routes that each load 3 components. Two of the components are the same on all routes. When …

vue.js vue-router
How to share data between components in VueJS

I have a fairly simple VueJS app, 3 components (Login, SelectSomething, DoStuff) Login component is just a form for user and …

vue-component vue-router vue.js vuejs2