layui/src/module/scroll/index.ts
2021-10-03 00:01:14 +08:00

9 lines
263 B
TypeScript

import type { App } from 'vue'
import Component from './index.vue'
import type { IDefineComponent } from '../type/index'
Component.install = (app: App) => {
app.component(Component.name || 'LayScroll', Component)
}
export default Component as IDefineComponent