vue-zo
v0.1.20
Published
A Vuejs/Nuxt plugin that allows you to use roles and permissions in your components (setup macro & option API), also compatible as middleware, methods, composition-api and Pinia
Downloads
240
Maintainers
Readme
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.
Installation
npm install vue-zo --save-dev
Features
- Persistent roles/permissions
- Super role avoids all role and permission validations
- Directives
- Middlewares
- Methods
- Wildcard support
- Support server-side rendering (Nuxt.js)
- TypeScript support
documentation
🙈 Credits
- Based on Vue-gates.
🔒 License
MIT