element/packages/loading/index.js
2016-11-18 20:03:14 +08:00

12 lines
204 B
JavaScript

import directive from './src/directive';
import service from './src/index';
export default {
install(Vue) {
Vue.use(directive);
Vue.prototype.$loading = service;
},
directive,
service
};