0.1.2 • Published 4 years ago
v-goto v0.1.2
Examples and Documentation
Installation
npm i v-goto -S
Include and install plugin in your main.js
file.
import Vue from 'vue'
import goTo from 'v-goto'
// install plugin
Vue.use(goTo)
then you can use in the components
<button @click="$goto(routeName, Params)">Click!</button>