import BBqSwitch from "./src/bbq-switch.vue"; let sw: any = BBqSwitch sw.install = function (Vue:any) { Vue.component(sw.name, BBqSwitch); } export default BBqSwitch;