mvnobrega
1 month ago
362
8
Vue

How to use @guest in the vuejs component

Posted 1 month ago by mvnobrega

I created a single navbar for Guest and Auth. But I need to use the syntax @guest or @auth to display the appropriate navbar for each user.

But you can't use @guest inside the component. How can I solve this without having to call two navbar in app.blade.php and use @guest there?

Please sign in or create an account to participate in this conversation.