@plumile/site
v0.1.146
Published
Static-SPA site framework for Plumile React documentation and marketing sites
Maintainers
Readme
@plumile/site
Static-SPA site framework for Plumile React documentation and marketing sites.
This package is under initial implementation. The first public surface covers
configuration normalization, manifest types, Node rendering helpers, runtime
hydration/navigation helpers, i18n payloads, optional Relay hooks, markdown
component mapping, Vite integration, and theme presets used by the Rust
plumile-site CLI and future React renderer.
Main Exports
@plumile/site/configdefines and normalizes site config.@plumile/site/noderenders static route HTML and stable hydration payloads.@plumile/site/runtimehydrates static HTML, handles internal navigation, and searches generated static indexes.@plumile/site/manifestvalidates manifests and resolves direct route links.@plumile/site/i18ncreates initial i18n payloads and locale switch targets.@plumile/site/relayexposes optional build-time and hydration store hooks.@plumile/site/markdowndefines markdown component maps.@plumile/site/themeresolves static theme presets.@plumile/site/vitecreates the Vite plugin wrapper.
CLI
The companion Rust CLI lives in crates/plumile-site-cli and currently covers
content checks, manifest generation, static output, sitemap, robots, search
index, TypeDoc mounting, route inspection, and baseline comparison.
cargo test -p plumile-site-cli