This above URL is working file, I would like to add sub route(list, add) after pre-assessment [tab] so my new URL should like
http://localhost:5173/clients/view/1/pre-assessment/listhttp://localhost:5173/clients/view/1/pre-assessment/add
The below is the file structure that I have followed now
Describe the bug
How to handle sub route after dynamic tab
http://localhost:5173/clients/view/1/pre-assessment
-->http://localhost:5173/clients/view/[id]/[tab]
This above URL is working file, I would like to add sub route(
list
,add
) afterpre-assessment
[tab] so my new URL should likehttp://localhost:5173/clients/view/1/pre-assessment/list
http://localhost:5173/clients/view/1/pre-assessment/add
The below is the file structure that I have followed nowcan anyone help me to make this sub route.
Thanks
Reproduction
nill
System Info
Used Package Manager
yarn
Validations