Skip to content

mercs600/vue-v-link

Repository files navigation

vue-v-link

Detect external/(nuxt-link/router-link) by simple functional component. You can use the same component for each link type.

Install

npm

npm install vue-v-link

yarn

yarn add vue-v-link

How to use

Global Registration

import VLink from 'vue-v-link'

Vue.use(VLink)

Simple usage

<v-link to="/internal-page"> internal page </v-link>
<v-link to="https://google.com"> external page </v-link>
<v-link to="mailto:[email protected]"> mailto link </v-link>

About

Use one component for each type of link

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published