Skip to content

Instantly share code, notes, and snippets.

Created August 28, 2021 17:10
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
<a href="#" class="flex-shrink-0 w-full group block">
<div class="flex items-center">
alt="tom cook"
<div class="ml-3">
<p class="text-sm font-medium text-gray-700 group-hover:text-gray-900">
{{ }}
<p class="text-xs font-medium text-gray-500 group-hover:text-gray-700">
View profile
import { mapGetters } from 'vuex'
import Avatar from '../simple/Avatar.vue'
export default {
name: 'profile-button',
components: { Avatar },
computed: {
user: 'user/getUser'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment