Skip to content

FileRoutes: support for custom directory #516

@indeyets

Description

@indeyets

Being able to customize routes directory of <FileRoutes> component would allow to have more flexibility and ability to have several independent routers.

I'm thinking about something like this:

<div id="menu">
  <Routes>
    <FileRoutes directory="src/menu-routes" />
  </Routes>
</div>

<div id="body">
  <Routes>
    <FileRoutes directory="src/routes" />
  </Routes>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions