tdesign-vue-next
Version:
TDesign Component for vue-next
20 lines (16 loc) • 445 B
JavaScript
/**
* tdesign v1.15.2
* (c) 2025 tdesign
* @license MIT
*/
;
function withInstall(comp, alias, directive) {
var componentPlugin = comp;
componentPlugin.install = function (app, name) {
app.component(alias || name || componentPlugin.name, comp);
directive && app.directive(directive.name, directive.comp);
};
return componentPlugin;
}
exports.withInstall = withInstall;
//# sourceMappingURL=dep-0ff81c06.js.map