element-plus/packages/backtop/index.ts
2020-08-07 15:39:06 +08:00

6 lines
142 B
TypeScript

import { App } from 'vue'
import Backtop from './src/index.vue'
export default (app: App): void => {
app.component(Backtop.name, Backtop)
}