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


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

User Profile Component

    Logged in as {{ user.uid }}<br>
    <button @click="auth.signOut()" class="button">Sign Out</button>

import { auth } from '../firebase';

export default {
  data() {
    return { 
  props: ['user']

Q&A Chat