Remix v2 Routing Quick Reference Flat-routes v2 filename rules (all files live in ): Imports — always use , never : File Naming Conventions Dots in filenames create URL slashes and parent/child nesting. Underscore prefix marks pathless segments ( ) and index routes ( ). Trailing underscore ( ) opts out of layout nesting while keeping the URL nested. Brackets escape literal characters: . Splat is the single dollar sign: exposes the rest of the path under . Optional segments are wrapped in parens: . See references/conventions.md for the full table and edge cases. Nested Layouts A parent module…