Home

Catch All Routes

Dynamic Segments can be extended to catch-all subsequent segments by adding an ellipsis inside the brackets [...folderName]

Go To: /catch-all-routes/one
Go To: /catch-all-routes/one/two
Go To: /catch-all-routes/one/two/three

TIP: Catch-all Segments can be made optional by including the parameter in double square brackets: [[...folderName]]. This way, the route without the parameter is also matched (e.g. /catch-all-routes)