Xuda logo

xuda.io

Technical docs for Xuda Slim and Xuda CLI

Product overview
Xuda CLI

routes/

This guide was generated by xuda-cli.

Xuda CLI pages

Repo-driven docs from the xuda-cli package README and generated folder guides.

Docs page

This guide was generated by xuda-cli.

You can remove all generated folder guides later with:

npm run clean:readmes

Use this folder for route resources.

File rules

  • file type: .route.json5
  • each file compiles to a Xuda route resource

What belongs here

  • route menu definitions
  • navigation plans
  • launchable app sections and their order

Important rules

  • route resources describe navigation structure
  • they do not replace UI state by themselves, but they give the app a clear route model
  • keep route titles readable and program references explicit

Example

{
  id: "app_route",
  menuTitle: "App Route",
  menu: [
    { title: "Overview", prog: "app" },
    { title: "Students", prog: "student_list" },
    { title: "Profiles", prog: "profile_center" }
  ]
}