mercredi 11 mars 2020

Multiple Layouts in Laravel Blade, Vue-Router

I am trying to separate user & admin functionality but cant find a satisfactory solution..

After login, user is authenticated and then he is redirected to either user or admin blade view depending upon the role..

"Now, in the user.blade file, i just want to load user related routes & components and vice versa.. This way, i won't need any ACL in vue-router and extra fuss, i guess"..

But how do i make this work? I have searched everywhere but cant find a proper solution..



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire