vue-gates

A Vue.js/Nuxt.js package for Roles/Permissions
46,571 262
Install
npm install vue-gates
Latest Version:2.1.2
Vue:2 · 3
License:MIT
Last Updated:Jan 6, 2023
Links: GitHub  ·  npm
Maintainer: williamcruzme

vue-gates is a plugin for Vue.js & Nuxt.js that allows you to use roles and permissions in your components or DOM elements, also compatible as middleware and methods.

See the full documentation

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
  • Compatible with IE11

✅ Examples

See the examples and instructions with Laravel.

🚸 Contributing

You are welcome to contribute to this project, but before you do, please make sure you read the contribution guide.

🙈 Credits

  • Inspired by Laravel Permission syntax.

🔒 License

MIT

Related Packages

@givanov95/vue-roles-permissions-crud

Vue 3 + Inertia roles & permissions CRUD components for givanov95/laravel-roles-...

1,380 0
nuxt-custom-headers

Nuxt module to add custom headers to SSR rendered pages.

13,356 12
vue-store

Some simple utilities for Vue.

7,296
vuex-basement

Vuex state persistance and synchronization between tabs/windows.

2,403

Version History

Version Released License
2.1.2 MIT
2.1.0 MIT
2.0.0 MIT