@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
11 lines (10 loc) • 449 B
JavaScript
import { setGlobalConfig, getComponentPrefix } from "../_utils/global-config.js";
import _VerificationCode from "./verification-code.js";
const VerificationCode = Object.assign(_VerificationCode, {
install: (app, options) => {
setGlobalConfig(app, options);
const componentPrefix = getComponentPrefix(options);
app.component(componentPrefix + _VerificationCode.name, _VerificationCode);
}
});
export { VerificationCode as default };