element/packages/switch/index.js

9 lines
155 B
JavaScript

const ElSwitch = require('./src/component');
ElSwitch.install = function(Vue) {
Vue.component(ElSwitch.name, ElSwitch);
};
module.exports = ElSwitch;