mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
Support publish component packages
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const ElDialog = require('./src/component');
|
||||
|
||||
ElDialog.install = function(Vue) {
|
||||
Vue.component('el-dialog', ElDialog);
|
||||
Vue.component(ElDialog.name, ElDialog);
|
||||
};
|
||||
|
||||
module.exports = ElDialog;
|
||||
|
||||
Reference in New Issue
Block a user