vue-fireapp
v0.1.2
Published
Vue firebase app wrapper as a plugin
Downloads
5
Readme
vue-fireapp
Vue firebase app wrapper as a plugin prototype
Usage
...
import VueFireApp from 'vue-fireapp';
...
Vue.use(VueFireApp, {
apiKey: 'XXXXXXXXX',
authDomain: 'xxxxx.firebaseapp.com',
databaseURL: 'https://xxxxx.firebaseio.com',
projectId: 'xxxxxxx',
storageBucket: 'xxxx.appspot.com',
messagingSenderId: '00000000'
});
this.$fireApp.database().ref('xxx');
this.$fireApp.storage().ref().child('xxx');
For detailed explanation on how things work, consult the docs for vue-loader.