Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

router-link-helper

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

router-link-helper

vue router-link helper

  • 0.3.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vue.js router-link helper

NPM

Installation

NPM

$ npm install --save router-link-helper or $ yarn add --save router-link-helper

Usage

  import Vue from 'vue'

  const RouterLinkHelper = require('router-link-helper');
  Vue.use(RouterLinkHelper)

  // or register with custom router-link name
  Vue.use(RouterLinkHelper,{
    name:'my-link'
  })
  <router-link-helper to="/bar" :_blank="['desktop','tablet']" > foo </router-link-helper>

  // or custom link

  <my-link to="/bar" :_blank="['desktop','tablet']" > foo </my-link>

Props

you can use these props for router-link-helper:

Prop NameDefault ValueTypeDescriptionRequired
_blanknonearraydefinition device name you want target "_blank" : desktop,tablet,mobileNo

Options

you can use these props for router-link-helper:

Prop NameDefault ValueTypeDescriptionRequired
namerouter-link-helperstringcustom router link nameNo

Development

To customize and develop the project you could use following npm commands:

To bundle and minify JS
  npm run prod

License

router-link-helper is a free and open project developed and maintained by Reza Haidari at INB Co., published under MIT license.

FAQs

Package last updated on 30 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc