multiguard

1.0.1 • Public • Published

Very complicated and genius package that allows you to add multiple guard functions to your Vue-Router guards.

Simply pass all functions you want as arguments. Watch the order as they are all middleware.

Installation

npm i multiguard

import multi from 'multiguard';

beforeEnter: multi(checkAuth, redirectBadToken, sendToDashboard);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    3
  • 1.0.0
    0

Package Sidebar

Install

npm i multiguard

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • babazon