Skip to content

This is a template for creating vue3 login/register via firebase-auth and using firestore to store some custom data.

Notifications You must be signed in to change notification settings

Mindsaver/vue3_firebase_auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue3_firebase_auth

This is a template for creating vue3 login/register via firebase-auth and using firestore to store some custom data. Additional this page can be hosted via firebase hosting. The app uses the newest firebase sdk version and the Vue 3 SFC <script setup> syntax.

setup

You need to create a file called firebase-config.js inside src folder. And copy in your firebase config. Example:

export  const  firebaseConfig = {
    apiKey:  "xxxx",
    authDomain:  "xxx.firebaseapp.com",
    projectId:  "xxx",
    storageBucket:  "xxx.appspot.com",
    messagingSenderId:  "xxx",
    appId:  "1:xxx:web:xxx"
}

You also need to create a file in the main folder called .firebaserc

{
    "projects":{ 
	    "default" : "<yourprojectid>"
    }
}

Firebase Hosting

If you want to host this on firebase hosting follow the following guide: https://firebase.google.com/docs/hosting/quickstart

About

This is a template for creating vue3 login/register via firebase-auth and using firestore to store some custom data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published