mirror of https://github.com/ElemeFE/element
dialog and msgbox import the global vue-popup (#282)
parent
58994b0710
commit
dd7b8e5ef1
|
@ -5,11 +5,13 @@ var externals = {};
|
|||
Object.keys(Components).forEach(function(key) {
|
||||
externals[`packages/${key}/index.js`] = `element-ui/lib/${key}`;
|
||||
externals[`packages/${key}/style.css`] = `element-ui/lib/${key}/style.css`;
|
||||
externals['main/utils/clickoutside'] = 'element-ui/lib/utils/clickoutside';
|
||||
externals['main/utils/popper'] = 'element-ui/lib/utils/popper';
|
||||
externals['main/utils/vue-popper'] = 'element-ui/lib/utils/vue-popper';
|
||||
});
|
||||
|
||||
externals['main/utils/clickoutside'] = 'element-ui/lib/utils/clickoutside';
|
||||
externals['main/utils/popper'] = 'element-ui/lib/utils/popper';
|
||||
externals['main/utils/vue-popper'] = 'element-ui/lib/utils/vue-popper';
|
||||
externals['vue-popup'] = 'vue-popup';
|
||||
|
||||
exports.externals = Object.assign({
|
||||
vue: {
|
||||
root: 'Vue',
|
||||
|
|
|
@ -12,6 +12,5 @@
|
|||
"author": "elemefe",
|
||||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"vue-popup": "^0.2.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,5 @@
|
|||
"author": "elemefe",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"vue-popup": "^0.2.6"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue