Skip to content

@zoijs/head 0.1.0

Choose a tag to compare

@jay-m2 jay-m2 released this 25 Jun 00:38
· 8 commits to main since this release

Set the document title and meta description from a component.

npm install @zoijs/core @zoijs/head

API: title, description, meta — restore-on-cleanup, so routed pages revert automatically.

Solves: per-page <title>/description in an SPA, with no head manager.

Known limitations: client-side only; name-based meta only (no http-equiv/OpenGraph).

· npm · README