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