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);

Readme

Keywords

Package Sidebar

Install

npm i multiguard

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • babazon