We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The server routes documentation is missing a basic folder structure scenario, implying you are familiar with file-based routing structure.
It doesn't explain you can prefix files with index, like index.get.ts.
index
index.get.ts
It unlocks using a folder for crud operations like:
articles - index.get.ts - index.post.ts - index.delete.ts
Or being able to cover routes like /articles and /articles/upcoming.
/articles
/articles/upcoming
articles index.get.ts upcoming index.get.ts
The text was updated successfully, but these errors were encountered:
PR more than welcome to improve nitro docs 🙏🏼
Sorry, something went wrong.
Awesome I wanted to wait for feedback from the team before starting working on it. I'll land a PR!
No branches or pull requests
Describe the feature
The server routes documentation is missing a basic folder structure scenario, implying you are familiar with file-based routing structure.
It doesn't explain you can prefix files with
index
, likeindex.get.ts
.It unlocks using a folder for crud operations like:
Or being able to cover routes like
/articles
and/articles/upcoming
.Additional information
The text was updated successfully, but these errors were encountered: