williamcruzme / vue-gates

πŸ”’ A Vue.js & Nuxt.js plugin that allows you to use roles and permissions in your components or DOM elements, also compatible as middleware and methods.

Home Page:https://williamcruzme.github.io/vue-gates/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Live update roles

PetzJohannes opened this issue Β· comments

First of all, great package!
Very easy to use and is flexible and not overloaded.

One simple question:

Is there a way to update the roles / permissions and make use of the vue reactivity?

At the moment I am using this.$forceUpdate() after updating my permissions but this seams not the correct way.

Thank you.
Cheers

I'll research what you can do! Thank you! πŸ™ŒπŸ»

First of all, great package!
Very easy to use and is flexible and not overloaded.

One simple question:

Is there a way to update the roles / permissions and make use of the vue reactivity?

At the moment I am using this.$forceUpdate() after updating my permissions but this seams not the correct way.

Thank you.
Cheers

Hey can u share a gist or a repo how u manage that pls?

I'll research what you can do! Thank you! πŸ™ŒπŸ»

Great package I'm using it with laravel and it's really easy and simple to use. Did you find something about the question above? It would be great