Skip to content

Function: createRbacState() ​

ts
function createRbacState(options?): VueRbac;

Defined in: packages/vue/src/state.ts:72

Creates the reactive RBAC state without installing it (used by createRbacPlugin).

Parameters ​

ParameterType
options?RbacStateOptions

Returns ​

VueRbac

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