Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

package/firebase-auth #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/firebase-auth-module/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
> 1%
last 2 versions
not ie <= 8
37 changes: 37 additions & 0 deletions packages/firebase-auth-module/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# vuex-firebase-auth-module

Vuex module to interface with Google Firebase

Docs Link: Coming Soon!

Install:
```bash
yarn add @vuetify/vuex-firebase-auth-module
```

Import into your project's entry point (main.js in most Vue projects)
```js
import attachFirebaseAuthModule from '@vuetify/vuex-firebase-auth-module';
```

Attach auth module to the store
```js
import firebase from 'firebase/app'
import 'firebase/auth'

import store from './store';

const config = {
apiKey: 'your-api-key',
authDomain: 'your-auth-domain',
databaseURL: 'your-database-url',
projectId: 'your-project-id',
storageBucket: 'your-storage-bucket',
messagingSenderId: 'your-sender-id',
}

const firebaseApp = firebase.initializeApp(config)
const auth = firebaseApp.auth()

attachFirebaseAuthModule(store, auth, 'auth')
```
11 changes: 11 additions & 0 deletions packages/firebase-auth-module/docs.now.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "vuetify-vuex-firebase-auth-module-docs",
"type": "static",
"static": {
"public": "docs/.vuepress/dist"
},
"alias": "firebase-auth.vuetifyjs.com",
"files": [
"docs/.vuepress/dist"
]
}
46 changes: 46 additions & 0 deletions packages/firebase-auth-module/docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
module.exports = {
title: 'Vuetify Vuex ',

head: [
['link', { rel: 'icon', href: `/logo.png` }]
],

// ga: 'UA-75262397-5', // TODO: add me

themeConfig: {
nav: [
{
text: 'Get Help',
link: 'https://discord.gg/q6UtSjz'
},
{
text: 'Firebase Auth Dev Resources',
link: 'https://firebase.google.com/docs/reference/js/firebase.auth/'
}
],
sidebar: [
{
title: 'Getting started',
collapsable: false,
children: [
'guide/install'
]
},
{
title: 'API',
collapsable: false,
children: [
'api/actions',
'api/getters'
]
},
{
title: 'Firebase Auth',
collapsable: false,
children: [
'firebase/setup',
]
}
]
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/firebase-auth-module/docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
home: true
heroImage: /logo.png
actionText: Get Started →
actionLink: /guide/install
tagline: 'Firebase Auth Module'
footer: MIT Licensed | Copyright © 2018-present Vuetify LLC
---
Loading