solid-start
solid-start copied to clipboard
[Bug?]: rename the index.tsx file to the name of the folder always gives a 404
Duplicates
- [X] I have searched the existing issues
Latest version
- [X] I have tested the latest version
Current behavior 😯
As per documentation you should be able to rename the file to match the directory but that always (even in production build) returns a 404.
PS: congrets on reaching v1 ;-)
Expected behavior 🤔
The route should be rendered.
Steps to reproduce 🕹
Steps:
- create route like: routes/auth/auth.tsx
- visit http://localhost:3000/auth
- result: 404 page not found
Context 🔦
No response
Your environment 🌎
System:
OS: Linux 6.8 Fedora Linux 39 (Workstation Edition)
CPU: (16) x64 13th Gen Intel(R) Core(TM) i7-1360P
Memory: 3.37 GB / 15.21 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
pnpm: 9.1.1 - ~/.local/share/pnpm/pnpm
bun: 1.1.9 - ~/.bun/bin/bun
Managers:
Yum: 4.19.2 - /usr/bin/yum