react-router-auto-routes
Automatic folder-based routing with colocation for React Router v7+
File Explorer
Download Latest Version (.zip)- claude-code-review.yml
- claude.yml
- constants.ts
- files.ts
- index.ts
- segments.ts
- structure.ts
- utils.ts
- index.ts
- types.ts
- visit-files.ts
- diff.ts
- route-entry.ts
- run-cli.ts
- runner.ts
- cli.ts
- constants.ts
- create-routes-from-folders.ts
- fs-helpers.ts
- import-rewriter.ts
- logger.ts
- migrate.ts
- normalizers.ts
- parser.ts
- route-definition.ts
- route-scanner.ts
- index.ts
- utils.ts
- admin.tsx
- routes-link
- route-test-helpers.ts
- tmp-workspace.ts
- filesystem-behavior.test.ts
- fs-visit-files.test.ts
- migrate-cli.test.ts
- migration-convert-to-route.test.ts
- migration-create-route-path.test.ts
- migration-fs-helpers.test.ts
- migration-import-rewriter.test.ts
- options-and-detection.test.ts
- routes-structure.test.ts
- .gitignore
- .oxfmtrc.json
- AGENTS.md
- CLAUDE.md
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- tsconfig.build.json
- tsconfig.json
- tsup.config.ts
- vitest.config.ts
# Installation Guide
1. Get the code
git clone https://github.com/kenn/react-router-auto-routes
Downloads the entire project code from GitHub to your computer.
cd react-router-auto-routes
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install -D react-router-auto-routes
Downloads and installs the libraries listed in package.json.
npm uninstall remix-flat-routes
Type this command into your terminal and run it.
npm uninstall @react-router/remix-routes-option-adapter
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
