Skip to content

Function: useRbac() ​

ts
function useRbac(): VueRbac;

Defined in: packages/vue/src/composables.ts:5

Returns the RBAC instance installed with app.use(createRbacPlugin(...)).

Returns ​

VueRbac

Released under the MIT License. Inspired by spatie/laravel-permission.