404 page not found error
Answered
Spotted Rail posted this in #help-forum
Spotted RailOP
Even though route is defined or it's what I think atleast.
12 Replies
Spotted RailOP
my folder structure
When i navigate here I get the 404 error
http://localhost:3000/dashboard/invoice/uuid/edit
http://localhost:3000/dashboard/invoice/uuid/edit
@Spotted Rail Even though route is defined or it's what I think atleast.
route should be defined inside the
app folderSpotted RailOP
I've been following this guide: https://nextjs.org/learn/dashboard-app/mutating-data
you create it inside the ui folder so the url should be /ui/invoices/uuid/edit
@Ray you create it inside the ui folder so the url should be /ui/invoices/uuid/edit
Spotted RailOP
yes I got your point but it is how they have done in the above guide
the path is /app/dashboard/invocies/[id]/edit/page.tsx
Answer
Spotted RailOP
oh i see
thanks @Ray .. the issue has been resolved now 😃
how do I mark it as answered?
@Spotted Rail how do I mark it as answered?
right click the answer > application > mark solution