Routing of index not working
See original GitHub issueEnvironment
- Operating System:
Linux
- Node Version:
v18.0.0
- Nuxt Version:
3.0.0-rc.4
- Package Manager:
pnpm@7.1.0
- Builder:
vite
- User Config:
typescript
,modules
- Runtime Modules:
@nuxt/content@2.0.1
- Build Modules:
-
Reproduction
pnpm dlx nuxi init content-app -t content pnpm install --shamefully-hoist pnpm run dev
Describe the bug
The routing doesn´t match / to index.md. It seems to use the first file alphabetically.
/ -> about.md
rename about.md to zabout.md
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Nested index route not rendering in react-router-dom v6
Trying to use the new index route syntax so that my HomePage component renders at the index that is currently serving a Layout...
Read more >Index route not working but /create is - Laracasts
It is just a simple module which displays entries in a database table, creates ,edits and deletes them. My problem is that the...
Read more >Routing to controller actions in ASP.NET Core - Microsoft Learn
Learn how ASP.NET Core MVC uses Routing Middleware to match URLs of incoming requests and map them to actions.
Read more >Ultimate React Router v6 Guide
React Router is by far the most popular routing library in React and this article goes in depth on everything you need to...
Read more >Routing - Remix
Index Route - A route that shares the same URL as the parent route but renders as the default child route inside of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You might want to look at this issue: #1237 And to solve this you could use the edge version of nuxt content as suggested in this comment
I think we can safely close this as a duplicate of #1237 👍