Vue 3 binding for dockview, a zero-dependency docking layout manager supporting tabs, groups, grids, splitviews, floating panels, popout windows, and drag-and-drop. Current stable version v6.0.6, with active development and frequent releases (v6.0.0 introduced CSS variable themes and context menus). Key differentiators: high test coverage, serialization/deserialization, extensive API, Shadow DOM support, and transparent builds. Peer dependency on Vue ^3.4.0. Note: dockview-vue is the Vue wrapper; core logic resides in dockview-core (automatically installed). Alternatives: rc-dock, react-mosaic.
npm install dockview-vueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal Vue 3 SFC integrating DockviewVue with a single panel and a named slot template.
Update custom CSS to use CSS variable-based theme system. See migration guide at dockview.dev.
Replace import DockviewVue from 'dockview-vue' with import { DockviewVue } from 'dockview-vue'.Add the CSS import to your main app or component.
Use exact casing: if component: 'myPanel', use <template #myPanel>.
Remove :theme="..." from DockviewVue; add class to parent div.
Ensure panel is added before reading slot params. Use onMounted or watch.
Run npm install dockview-core (or ensure it's in your package.json). Then add 'dockview-core' to tsconfig.json types if needed.
Update dockview-vue to latest v6. If still failing, check API docs for 'addPanel' vs 'addGroup'.
Ensure import { DockviewVue } from 'dockview-vue' is present in script setup.