vue-v-link

0.1.0 • Public • Published

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:joe@kowalski.com"> mailto link </v-link>

Readme

Keywords

none

Package Sidebar

Install

npm i vue-v-link

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

4.22 kB

Total Files

6

Last publish

Collaborators

  • mercs600