buefy
Version:
Lightweight UI components for Vue.js (v3) based on Bulma
28 lines (20 loc) • 465 B
text/typescript
import type { App } from 'vue'
import Icon from './Icon.vue'
import { registerComponent } from '../../utils/plugins'
const Plugin = {
install(Vue: App) {
registerComponent(Vue, Icon)
}
}
export default Plugin
export {
Icon as BIcon
}
export type {
IconAlias,
SvgIconAlias,
ComponentIconAlias,
CssIconAlias,
IconAliases
} from '../../utils/config'
export { resolveAlias, getIconAliases } from '../../utils/iconAliases'