Skip to content

moltenkaizen/vue-firebase-auth

Repository files navigation

vue-firebase-auth

A Vue.js demo project to show how to using Firebase Auth. Currently only using the Google Auth provider.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

To get firebase working, you'll need to provide your a firebase config file src/config.js

Example:
const firebaseConfig = {
  apiKey: 'asdfasdfasdfasdfasdf',
  authDomain: 'asdfasdfasdfasdf.firebaseapp.com',
  databaseURL: 'https://asdfasdfsdaf.firebaseio.com',
  projectId: 'asdfasdfasd',
  storageBucket: 'vasdfasdfasdf.appspot.com',
  messagingSenderId: 'asdfasdf'
}

export default firebaseConfig

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published