winbox-ui-next
Version:
We Design Vue 2.0: A Vue.js 3 UI Library
18 lines (17 loc) • 660 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports[Symbol.toStringTag] = "Module";
var globalConfig = require("../_utils/global-config.js");
var anchor = require("./anchor.js");
var anchorLink = require("./anchor-link.js");
const Anchor = Object.assign(anchor, {
Link: anchorLink,
install: (app, options) => {
globalConfig.setGlobalConfig(app, options);
const componentPrefix = globalConfig.getComponentPrefix(options);
app.component(componentPrefix + anchor.name, anchor);
app.component(componentPrefix + anchorLink.name, anchorLink);
}
});
exports.AnchorLink = anchorLink;
exports["default"] = Anchor;