{"repo":"Developmint/vue-link","free":true,"listed":false,"github":"https://github.com/Developmint/vue-link","clone":"git clone https://github.com/Developmint/vue-link.git","description":"One component to link them all 🔗","language":"JavaScript","stars":62,"topics":["vue","vuejs","vue-components","vue-plugin","nuxt","nuxtjs","linking","links","link"],"license":"MIT","category":"ui-components","readme_excerpt":"VueLink - One component to link them all! Lightweight wrapper component for external and vue-router links. :fire: Features - Tiny functional component - SSR-safe (works with Nuxt.js) - Well tested and documented - Compatible with Node 8.0+ - Vue (and vue-router) as the only dependencies - Highly customizable :mag right: Getting started :package: Through NPM Synchronous import Async import :link::x: Using a CDN Sorry! No CDN available for VueLink right now. :hammer and wrench: Usage Handling Before going into detail, keep in mind that you can customize the component as you can do it with a normal or / tag. All props will be passed down to the internal implementation of vue-link in case the link is not external. Link detection If the passed link starts with http , it'll be treated as external link. You can use the external prop to force treating it as external link as well. Prop overview Prop External only? Comment --- --- --- to :x: The target of the link. If not set, the link will not be bound (no \"empty href\") rel :white check mark: Will be passed as rel attribute to the anchor tag newTab :white check mark: If truthy, set target attribute to blank target :white check mark: Will be passed as target attribute to the anchor tag slashes Internal only! Settings: 'strip' , 'add' or false (default). Will force slash endings to either strip or add trailing slashes to your url ( /a - /a/ in add mode, vice-versa in strip . Only for internal links ! Also, this will not take query strin","default_branch":null,"files":null,"tree":[],"storefront":"/r/Developmint","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Developmint/vue-link/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}