solid-start icon indicating copy to clipboard operation
solid-start copied to clipboard

FileRoutes: support for custom directory

Open indeyets opened this issue 3 years ago • 0 comments

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>

indeyets avatar Dec 04 '22 22:12 indeyets