Closed pirmax closed 6 years ago
Hi,
If you are using vuex you can do something like this:
import { mapState } from 'vuex';
export default {
computed: {
..mapState('auth', {
user: 'user',
}),
},
};
and then you should be able to use it in your template as you described. I am closing this, because it's not relevant to vue-gravatar
. I recommend to check the Vuex docs
Hi,
I search how I can set async the email on the component.
<v-gravatar :email="user.email" />