Commit 3003aaa4 authored by qingwei.li's avatar qingwei.li Committed by Leopoldthecoder

Loading: fix export module

parent 7b263b89
......@@ -39,8 +39,7 @@ module.exports = {
version: '{{version}}',
locale: locale.use,
install,
Loading: Loading.directive,
LoadingService: Loading.service,
Loading,
{{list}}
};
`;
......
import directive from './src/directive';
import service from './src/index';
export default {
install(Vue) {
Vue.use(directive);
Vue.prototype.$loading = service;
},
directive,
service
};
......@@ -134,8 +134,7 @@ module.exports = {
version: '1.0.1',
locale: locale.use,
install,
Loading: Loading.directive,
LoadingService: Loading.service,
Loading,
Pagination,
Dialog,
Autocomplete,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment