How are we handling nested routes in redwood

Hi all,
I was going through the docs and was a bit confused about how are we handling the nested routes in redwood js… is it like

  1. generate page
    then
  2. move them to to respective directories
  3. run generate type command

Is there any better way to do it?

There is not really a thing in redwood js as nested routes. We keep the routes file flat on purpose.

Thanks for taking the time to reply. Now that I think of it, it was a stupid question. That’s how we learn! Thanks again!