import router from './router'
and use router.push
Simple like that.
More Related Contents:
- Communication between sibling components in Vue.js 2.0
- Vuex state on page refresh
- How to watch store values from vuex?
- Accessing Vuex state when defining Vue-Router routes
- When should I use Vuex?
- How to add external JS scripts to VueJS Components?
- How to use .env variables in Nuxt 2 or 3?
- VueJS: why is “this” undefined?
- Can you force Vue.js to reload/re-render?
- Why not always use the index as the key in a vue.js for loop?
- Static image src in Vue.js template
- How to call function on child component on parent events
- forEach is not a function error with JavaScript array
- Vuejs typescript this.$refs..value does not exist
- How to use any icons with Nuxt3?
- How to install jQuery into Nuxt.js?
- Is there a proper way of resetting a component’s initial data in vuejs?
- Can vue-router open a link in a new tab?
- Two components binding Vuejs
- Module not found: Error: Can’t resolve vue, path not correct
- Vue js error: Component template should contain exactly one root element
- How to use any icons with Nuxt or Vue?
- Add global variable in Vue.js 3
- How to set a component non-reactive data in Vue 2?
- How to limit iteration of elements in `v-for`
- Conflict on Template of Twig and Vue.js
- Property ‘XXX’ does not exist on type ‘CombinedVueInstance’
- Integrating Google Maps in vue.js
- How to bind img src to data in Vue
- How to import ipcRenderer in vue.js ? __dirname is not defined