Last active
August 28, 2021 16:46
-
-
Save fhsinchy/17e035a0822eeb55b397cf2a2f98a64e to your computer and use it in GitHub Desktop.
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
// src/App.vue | |
// src/views/Home.vue | |
<script> | |
// ... | |
import { getters } from '@/store'; | |
export default { | |
computed: { | |
isLoggedIn: () => getters.isLoggedIn(), | |
}, | |
// ... | |
}; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment