#Dynamic Route Issue

1 messages · Page 1 of 1 (latest)

lapis apex
#

What is the issue here?

I am working on job portal, Hence I am passing dynamic route with $jobId.tsx but I am getting error here

sour torrent
#

In the remix, when using folders, the route.tsx file within a folder serves as the route for that folder. Since you're defining a dynamic route inside a folder that already has a route, to resolve this issue, create a folder named jobs.$jobid within the routes directory. Inside that folder, create a file named route.tsx and paste the default function there. This should solve the problem.