1.0.1 • Published 6 years ago
multiguard v1.0.1
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);