Ecosystem ↗

Structure

Choose a layout from the implemented discovery and module contracts.

↗ View Markdown

All structure types#

ZeruxConfig.type accepts fix, dynamic and function. The resolver defaults to fix. These are accepted structure labels, not browser rendering modes, static-export flags, automatic serverless deployment adapters or separate authorization policies.

Type Verified behavior Start here
fix Default structure mode, explicit discovery directories and entry module Fixed structure
dynamic Accepted/resolved mode; shares current directory discovery and request runtime Dynamic structure
function Accepted/resolved mode; resolver selects production environment fallback when NODE_ENV is absent Function structure

The current runtime does not branch its route/module discovery on structure.mode. Do not promise automatic function-per-route packaging or request-time module rescanning from these names. dev/start lifecycle mode, hosting configuration and explicit registrations are separate choices.

Directory and registration styles#

Rendering and build modes are independent#

ZyroJS/React/Vue selection belongs to renderer registration. General static export is an explicit API, not type:'fix'. Node builds, the docs app's own exporter and standalone Zyro build templates are distinct owners. Private files never belong under a public asset root.

Implementation sources

Implementation files for the APIs described on this page.

ZeruxJS · Open source · MIT OR Apache-2.0

Make yourself at home.

Every shortcut has a visible control too. Reading and navigation work without JavaScript.

Ctrl / ⌘ K
Search all documentation
/
Search, outside editable fields
?
This help, outside editable fields
↑ / ↓
Move through search results
Esc
Close a dialog or version menu
Progress, privacy, offline reading and controls →

Reset this learning record?

This removes course answers, exercise confirmations, bookmarks and recent pages for this docs version in this browser. Export a copy first if you want to keep it.

Search documentation

Type at least two characters.