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.
 
 
 
projectx/src/plugins/janus.js

21 lines
428 B

"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: 'all', callback: function() {
Vue.prototype.$janus = _janus
}})
}
}
export default JanusPlugin;
Vue.use(JanusPlugin)