App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
How to fix 404 error?
This is my project structure and code.
I don`t know how to solve this problems.
I am working in development store
When click button, got 404 error
Please give me advice
Thank you
Have you tried executing 'npm run deploy' before? For newly added routes, it is necessary to execute 'npm run deploy'.
Thank you for your reply.
I fixed this problems.
I changed route folder name so solved 404 error.
but I don`t know this method is not correct in rule.
Thank you.
I understand what you mean. You can refer to these two remix documents, which provide explanations for these two routing methods.
https://remix.run/docs/en/main/file-conventions/routes
https://remix.run/docs/en/main/discussion/routes