Next.js Discord

Discord Forum

How im supposed to name a route that has @ symbol in app directory

Answered
Kuchi posted this in #help-forum
Open in Discord
KuchiOP
https://klee.likes-throwing.rocks/6b4qa7zi7.png

I wanted to make /users/@name as a router how i can do it. If i simply name the folder like that its not rendering. it shows 404

4 Replies

Answer
@alfon try using %40name
KuchiOP
it only works when i do %40 and not when using @
right.....