Skip to content

Folder routes not working #10460

Open
Open
@Muhammadinaam

Description

@Muhammadinaam

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions