How to redirect from an intermediate route to a specific route?
Hey,
I have following routes:
/vouchers/creation/create
/vouchers/creation/output
/vouchers/creation/payment
If the user navigates to /vouchers/creation or /vouchers/creation/, I would like to redirect them immediately to /vouchers/creation/create. What is the best way to do this? The /vouchers/creation-component only shows at which step the user is located.
Here's my approach:
Thanks2 Replies
eastern-cyan•2y ago
Hello,
On my projects, I do something like this:
exotic-emeraldOP•2y ago
Oh, thanks for your response. But then you can't render general things in this intermediate component.