element-ui/packages/loading/index.js

12 lines
204 B
JavaScript
Raw Normal View History

2021-06-07 11:56:04 +08:00
import directive from './src/directive';
import service from './src/index';
export default {
install(Vue) {
Vue.use(directive);
Vue.prototype.$loading = service;
},
directive,
service
};