0👍
✅
You need to decide really what your route need to be.
But for me, what i understand is your params is optionnal so you just have to add a ?
.
{
path: '/form/:step?',
},
The params is now optionnal and you can define a setup or not!
Source:stackexchange.com