Migration
Migrating from Demo Template to Bun-Native Docs
Move an older react-bun-ssr demo-style setup to the current docs-first Bun-native project structure, route layout, and framework defaults.
migrationtemplateupgrade
Older versions of this project mixed framework experiments, demo app code, and docs concerns together. The current direction is stricter.
Migration goals
- keep the docs site as the primary product surface
- move authored docs into
app/routes/docs/**/*.md - keep generated assets under
.rbssr/anddist/ - use Bun-first runtime helpers consistently
Typical migration steps
- Move ad-hoc pages into
app/routes. - Replace generic anchors with
Linkfor internal navigation. - Move route-specific styling into CSS Modules.
- Replace custom markdown plumbing with first-class
.mdroutes. - Regenerate API docs and search artifacts.
Validation checklist
bun run test
bun run docs:check
bun run docs:build
Related guides
Next step
Return to Overview if you want to follow the new documentation flow from the beginning.