🔒 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.
after login, I am redirecting to the dashboard page. but there every permission returns false.
now, if I refresh the page manually, then the permission system works.
how to resolve this issue ?
Hello, thank you for this awesome plugin.
I am using NUXT js and my problem is....the permissions does not apply automatically until I refresh the page manually.
in login section
in sidebar
v-show="$gates.hasPermission('' + item.permission + '')"
after login
after refresh