Is it possible to display subpath on the root Outlet?
I wonder if there is any way to display a subpath (let’s say
/customers/$id) without putting another Outlet in the parent, but using the main one.
In the end I want the dynamic path to display instead of the parent
Example done in react router:
https://stackblitz.com/edit/stackblitz-starters-casmii?file=src%2FApp.tsx5 Replies
equal-aquaOP•3y ago
Indications given by Tanner here https://stackblitz.com/edit/stackblitz-starters-r4zupp?devToolsHeight=33&file=package.json,src%2Froutes%2Frouter1.tsx
like-gold•3y ago
hey @Coral were you able to figure this out?
In case of Tanner's example the route
customers/$customer/profile in router 2 example is not workingequal-aquaOP•3y ago
to solve the issue you can also define each route with parent the root route
like-gold•3y ago
okay, let me try this approach. Thanks
itchy-amethyst•3y ago
any updates ?