v-goto

A simple and easier to use $goTo, you can route to another route page

Usage no npm install needed!

<script type="module">
  import vGoto from 'https://cdn.skypack.dev/v-goto';
</script>

README

v-goto

A Vue plugin make route simple and easier,






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>