Using the Laravel's Gate / Authorization. I can use it in my blade template by simply doing..
@can('edit-post')
<button></button>
@endcan
However, what if the button is inside a vue component, how can I apply the @can to authorize the user?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire