forked from Albatross/projectx
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
427 B
22 lines
427 B
4 years ago
|
"use strict";
|
||
|
|
||
|
import Vue from 'vue'
|
||
|
import Janus from "@/lib/janus"
|
||
|
const _janus = Janus
|
||
|
|
||
|
const JanusPlugin = {
|
||
|
// eslint-disable-next-line no-unused-vars
|
||
|
install(Vue, options) {
|
||
|
console.log('install call')
|
||
|
console.log(_janus)
|
||
|
_janus.init({debug: true, callback: function() {
|
||
|
Vue.prototype.$janus = _janus
|
||
|
}})
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
export default JanusPlugin;
|
||
|
Vue.use(JanusPlugin)
|