You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
522 B
TypeScript

4 months ago
import VueDraggableResizable from './components/Vue3DraggableResizable'
import DraggableContainer from './components/DraggableContainer'
import { App, Plugin } from 'vue'
VueDraggableResizable.install = (app: App) => {
app.component(VueDraggableResizable.name, VueDraggableResizable)
app.component(DraggableContainer.name, DraggableContainer)
return app
}
export { default as DraggableContainer } from './components/DraggableContainer'
export default VueDraggableResizable as typeof VueDraggableResizable & Plugin