WarUI

Installation and packaging guide

GRID-UG-116-F01P0baselinePlanned

A guide covering every supported installation path:

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

Live example

An embedded plain HTML page loads WarGrid UMD and CSS from the CDN with SRI attributes and renders a 50-row grid. A tab shows the equivalent ESM/bundler setup.

Expected behavior

Each tab shows copyable code that produces the same running grid; the CDN and import-map variants run live. Switching themes swaps the stylesheet with no JS change. The tree-shaking toggle shows the documented size of a minimal vs. full import.

Planned API surface

npm package name(s) and framework adapter packagespackage.json exports map: import / require / types / ./styles/*UMD global: window.WarGridCSS entry points: core.css, theme-*.cssPer-feature entry points for tree-shaking

Acceptance criteria

  • Every snippet is tested in CI against the published build artifacts (pending)
  • CDN URLs are version-pinned and include SRI hashes generated at release (pending)
  • exports map documented for each format, with types (pending)
  • SSR note explains which entry is safe to import on the server and how to render only on the client (pending)
  • Upgrade/versioning policy links to the changelog and migration notes (pending)