Skip to content
loading...

re: Dynamic Menu In Vue VIEW POST

TOP OF THREAD FULL DISCUSSION
re: How to show nav items based on user roles like admin guest in vue dynamically
 

My first thought is about using vue-store. State management will help you to check if you have logged in user or not. Based on that info you can dynamically display wanted nav-items

 

Yes. I found the solution with vuex and dynamic routing. Thanks for reply.

code of conduct - report abuse