Using Module in components
version 8 with vue
can you please give me a tip on how to use Modules in components?
For example AuthModule - I`d like to print user name in topbar component
In the AuthModule state as you can see we have
user object, you can get add a computed function in your component which will return this vuex state.
Check this example which shows how you can get vuex state inside your component.