I have an app that renders similar UI for pages at the root and pages under /internal/. Currently, I have to created a file for each page that simply references the underlying component I want to render.
It would be great to be able to simply put a component in the add function instead of a path.
I have an app that renders similar UI for pages at the root and pages under
/internal/
. Currently, I have to created a file for each page that simply references the underlying component I want to render.It would be great to be able to simply put a component in the
add
function instead of a path.