Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Folder routes not working #10460

Open
Muhammadinaam opened this issue Feb 3, 2025 · 0 comments
Open

Folder routes not working #10460

Muhammadinaam opened this issue Feb 3, 2025 · 0 comments

Comments

@Muhammadinaam
Copy link

Reproduction

I created following structure:

app
  -routes 
     - index.tsx
     - signin.tsx

You can see the contents of the files in the image below.

I ran command npx remix routes. It is not recognizing signin route. When I try to open in browser, I get 404.

Image

System Info

System:
    OS: Windows 11 10.0.26100
    CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13700H
    Memory: 2.21 GB / 15.68 GB
  Binaries:
    Node: 22.11.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Chromium (131.0.2903.146)
    Internet Explorer: 11.0.26100.1882
  npmPackages:
    @remix-run/dev: ^2.15.3 => 2.15.3
    @remix-run/node: ^2.15.3 => 2.15.3
    @remix-run/react: ^2.15.3 => 2.15.3
    @remix-run/serve: ^2.15.3 => 2.15.3
    vite: ^5.1.0 => 5.4.14

Used Package Manager

yarn

Expected Behavior

signin route should be recognized.

Actual Behavior

signin route is not being recognized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant