Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fhsinchy/17e035a0822eeb55b397cf2a2f98a64e to your computer and use it in GitHub Desktop.
Save fhsinchy/17e035a0822eeb55b397cf2a2f98a64e to your computer and use it in GitHub Desktop.
// 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