👋 User Profile
Create a user profile where the user can sign out
User Profile Component
UserProfile.vue
<template>
<div>
Logged in as {{ user.uid }}<br>
<button @click="auth.signOut()" class="button">Sign Out</button>
</div>
</template>
<script>
import { auth } from '../firebase';
export default {
data() {
return {
auth
}
},
props: ['user']
}
</script>