buefy
Version:
Lightweight UI components for Vue.js (v3) based on Bulma
19 lines (14 loc) • 400 B
text/typescript
import type { App } from 'vue'
import Skeleton from './Skeleton.vue'
import { registerComponent } from '../../utils/plugins'
const Plugin = {
install(Vue: App) {
// explicit `name` is needed to avoid name mangling of
// Functional Component in production
registerComponent(Vue, Skeleton, 'BSkeleton')
}
}
export default Plugin
export {
Skeleton as BSkeleton
}