UNPKG

@arco-design/web-vue

Version:

Arco Design Vue 2.0: A Vue.js 3 UI Library

12 lines (11 loc) 374 B
"use strict"; var globalConfig = require("../_utils/global-config.js"); var link = require("./link.js"); const Link = Object.assign(link, { install: (app, options) => { globalConfig.setGlobalConfig(app, options); const componentPrefix = globalConfig.getComponentPrefix(options); app.component(componentPrefix + link.name, link); } }); module.exports = Link;