TanStackT
TanStack16mo ago
7 replies
worthy-azure

Using virtual routes to load routes from an external package

I do not see why this would not work (I will test later), but, can we do something like
const virtualRouteConfig = rootRoute('root.tsx', [
  physical('/node_modules/my-package/routes/', '/namespace'),
  physical('/', '/'),
]);

?
Was this page helpful?