@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
15 lines (14 loc) • 571 B
JavaScript
import { setGlobalConfig, getComponentPrefix } from "../_utils/global-config.js";
import _Statistic from "./statistic.js";
import Countdown from "./countdown.js";
export { default as Countdown } from "./countdown.js";
const Statistic = Object.assign(_Statistic, {
Countdown,
install: (app, options) => {
setGlobalConfig(app, options);
const componentPrefix = getComponentPrefix(options);
app.component(componentPrefix + _Statistic.name, _Statistic);
app.component(componentPrefix + Countdown.name, Countdown);
}
});
export { Statistic as default };