Routing
bext uses a high-performance trie-based router for O(depth) route matching.
File-Based Routing
Place files in src/pages/ to create routes automatically.
Dynamic Routes
Use [param] brackets for dynamic segments: src/pages/posts/[slug].tsx
Rewrites & Redirects
Configure in bext.config.toml under [[rewrites]] and [[redirects]].