index.js 205 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 import directive from './src/directive'; import service from './src/index'; export default { install (Vue) { Vue.use(directive); Vue.prototype.$loading = service; }, directive, service };