#Setting up a Modal Route

6 messages · Page 1 of 1 (latest)

weak bone
#

Currently trying to set it up so that on button press a Rating Modal opens (seperate path), but I cant get it working with the docs.
My folder structure is in the image.

Basicly the /vermieter/[slug]route has a button linking to /vermieter/[slug]/rate and should open the modal and keep the route under alive. The following link does not work and throw a not found '<Link href={/vermieter/${data.id}/rate/}>' any help appreciated :)

dense dragon
#

same here. I have the same issue and couldn't solve it with the nextgram example. have you solved it niclas? I will try to solve it again later.

#

still figuring out the issue. the modal logic is working it is something with the route logic I guess that's not working.

dry dragon
#

Have you put {modal} in layout besides {children} ?

#

And don't forget to make default.jsx to avoid error of parallel route