UNPKG

@arco-design/web-vue

Version:

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

11 lines (10 loc) 385 B
import { setGlobalConfig, getComponentPrefix } from "../_utils/global-config.js"; import _Comment from "./comment.js"; const Comment = Object.assign(_Comment, { install: (app, options) => { setGlobalConfig(app, options); const componentPrefix = getComponentPrefix(options); app.component(componentPrefix + _Comment.name, _Comment); } }); export { Comment as default };