User Profile Create a user profile where the user can sign out

This lesson is available for PRO members or as a single course purchase. Sign-in and choose a plan below.
Get Unlimited PRO Access

OR


*Enrollment provides full access to this course (and updates) for life.

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>

Questions?

Ask questions via GitHub below OR chat on Slack #questions