Migration Guide
This page helps you upgrade to the latest v-datatable-plus version after the TypeScript migration and native drag implementation.
What changed
- Internal source moved to TypeScript.
- Column drag-and-drop now uses native drag events.
vuedraggablehas been removed.
Upgrade checklist
- Update package:
bash
npm install v-datatable-plus@latest- Remove
vuedraggableif no longer used elsewhere:
bash
npm uninstall vuedraggable- Keep the same component names:
VDatatablePlusVDatatableServerPlusResizeableSplitter
- Keep using the same events:
columnMenuDragChangecolumnMenuCheckedcolumnMenuFixed
columnMenuDragChange payload includes drag movement in moved:
elementoldIndexnewIndex
Breaking changes
vuedraggabledependency removed.- Any app code using
vuedraggableinternals specifically for this package should migrate to this package public API. - Deep/internal imports are not guaranteed.
Non-breaking changes
- JavaScript usage remains the same.
- TypeScript users get improved type exports.
- Existing component names remain unchanged.
Vuetify auto-import
If your app uses Vuetify auto-import/tree-shaking, explicitly register required Vuetify components in createVuetify.
See Getting Started for the full setup example.