dialog and msgbox import the global vue-popup (#282)

pull/299/head
杨奕 2016-10-10 11:33:24 +08:00 committed by FuryBean
parent 58994b0710
commit dd7b8e5ef1
3 changed files with 5 additions and 5 deletions

View File

@ -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',

View File

@ -12,6 +12,5 @@
"author": "elemefe",
"license": "MIT",
"devDependencies": {
"vue-popup": "^0.2.6"
}
}

View File

@ -12,6 +12,5 @@
"author": "elemefe",
"license": "MIT",
"dependencies": {
"vue-popup": "^0.2.6"
}
}