Top "Vuejs2" questions

Use this tag for questions specific to version 2 of Vue.

Redirect to requested page after login using vue-router

In my application some routes are just accessible for authenticated users.When a unauthenticated user clicks on a link, for …

redirect vue.js vuejs2 vue-router
Dynamic V-model name in a v-for loop Vue 2

I am developing an application and I am using Vue 2 as the javascript framework, inside a v-for loop I need …

javascript vuejs2
Prevent on click on parent when clicking button inside div

Is it possible to prevent the function on the <div> element from running when clicking the button inside …

vue.js vuejs2
You may have an infinite update loop in a component render function

I'm new to VueJS, I've got warning from Vue, [Vue warn]: You may have an infinite update loop in a …

node.js vue.js vuejs2
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
How do I fix a "Vue packages version mismatch" error on Laravel Spark v4.0.9?

When I run npm run dev on a Laravel Spark v4.0.9 app, I get the following error: Module build failed: …

vue.js vuejs2 laravel-spark
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
How to use Vuetify tabs with vue-router

I have the following jsfiddle that has two Vuetify tabs. The documentation doesn't show examples on using vue-router with them. …

javascript vue.js vuejs2 vuetify.js
Handle Bootstrap modal hide event in Vue JS

Is there a decent way in Vue (2) to handle a Bootstrap (3) modal hide-event? I found this as a JQuery way …

twitter-bootstrap-3 vue.js bootstrap-modal vuejs2
Vuex: Call getters from action

Is there a way for a dispatch/action to call a getter inside of it? mutations: { setData(state, data) { state.…

javascript ecmascript-6 vuejs2 vuex