Skip to content
Permalink
6aa0cf88a3
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
33 lines (26 sloc) 632 Bytes
let firebaseui = {};
firebaseui.install = function (Vue, options) {
// 1. add global method or property
// Vue.myGlobalMethod = function () {
// // some logic ...
// }
// 2. add a global asset
// Vue.directive('my-directive', {
// bind (el, binding, vnode, oldVnode) {
// // some logic ...
// }
// ...
// })
// 3. inject some component options
// Vue.mixin({
// created: function () {
// // some logic ...
// }
// ...
// })
// 4. add an instance method
Vue.prototype.$myMethod = function (methodOptions) {
// some logic ...
}
}
export default firebaseui