WarUI

Vue 3 Adapter

GRID-A02-F19P1baselinePlanned

Provides the Vue 3 adapter that ADR-001 (#212) commits to: a thin wrapper generated from the Custom Elements Manifest and published as `@warlockcode/warui-vue`, plus an idiomatic hand-written layer with v-model bindings, scoped slots for cells, headers and editors, and a `useWarGrid()` composable. It passes the same conformance suite as the React and Angular adapters. A first-class Vue adapter is also the migration…

Planned. This page shows the specification from issue #178. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

The shared configuration running in a Vue tab next to the other adapters, with one cell slot and one editor slot.

Expected behavior

The grid matches the other adapters visually and behaviourally. Selection and filter changes flow both ways through v-model. Slot components mount only for visible cells and unmount when rows virtualize out.

Planned API surface

<WarGrid> (Vue)v-model:selectionv-model:filter-modelv-model:sort-modelv-model:pagescoped slots #cell-{field} / #header-{field} / #editor-{field}useWarGrid() composabledefineGridColumns<TRow>()

Acceptance criteria

  • Generated from the Custom Elements Manifest per ADR-001; the idiomatic layer lives in hand-written code that the generator never overwrites. (pending)
  • Passes the full shared adapter conformance suite (A30-F17), not a subset. (pending)
  • v-model works for selection, filter model, sort model and page. (pending)
  • Slot content unmounts when rows virtualize out, and slot props are typed from the row type. (pending)
  • Every emitted event is declared and typed, and no listener fires twice through attribute fallthrough. (pending)
  • Supports Vue 3.5+ and Nuxt (client-only island with a documented SSR placeholder). (pending)