winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
11 lines (10 loc) • 371 B
JavaScript
import { setGlobalConfig, getComponentPrefix } from "../_utils/global-config.js";
import _Empty from "./empty.js";
const Empty = Object.assign(_Empty, {
install: (app, options) => {
setGlobalConfig(app, options);
const componentPrefix = getComponentPrefix(options);
app.component(componentPrefix + _Empty.name, _Empty);
}
});
export { Empty as default };