tdesign-vue-next
Version:
TDesign Component for vue-next
18 lines (15 loc) • 424 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;
}
export { withInstall as w };
//# sourceMappingURL=dep-37a2e7c8.js.map