Skip to content

docs: use correct syntax for createFileRoute #4470

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

Merged

Conversation

RMHonor
Copy link
Contributor

@RMHonor RMHonor commented Jun 19, 2025

Some of the documentation was missing the path parameter for createFileRoute, which is required by default.

This PR adds those paths back, and tries to make it as relevant to the surrounding context as possible.

Fixes #4372

@RMHonor RMHonor marked this pull request as ready for review June 19, 2025 12:09
@schiller-manuel
Copy link
Contributor

thanks!

@schiller-manuel schiller-manuel merged commit f42b8a0 into TanStack:main Jun 20, 2025
@RMHonor RMHonor deleted the fix-createFileRoute-docs-usage branch June 20, 2025 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tanstack router docs] path option missing from createFileRoute functions in docs
2 participants