vue-zo is a plugin for Vue.js & Nuxt.js that allows you to use roles and permissions in your components (setup macro & option API), also compatible as middleware, methods, composition-api and pinia.js.
npm install vue-zo --save-dev
- Persistent roles/permissions
- Super role avoids all role and permission validations
- Directives
- Middlewares
- Methods
- Wildcard support
- Support server-side rendering (Nuxt.js)
- TypeScript support
- Based on Vue-gates.
MIT