Created
May 17, 2021 16:44
-
-
Save aptiko/2e5dca7aaf2148aca0f698b6cd7d54af to your computer and use it in GitHub Desktop.
Nuxt function that uses the store
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default { | |
computed: { | |
loggedOnUser() { | |
return this.$store.state.loggedOnUser | |
}, | |
}, | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment