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.
|
|
|
import VueDraggableResizable from 'vue3-draggable-resizable/src/components/Vue3DraggableResizable'
|
|
|
|
import DraggableContainer from 'vue3-draggable-resizable/src/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 'vue3-draggable-resizable/src/components/DraggableContainer'
|
|
|
|
export default VueDraggableResizable as typeof VueDraggableResizable & Plugin
|