https://github.com/leon/bug-remix-index-route
A demo showcasing how we should be able to do index routes
https://github.com/leon/bug-remix-index-route
Last synced: 7 months ago
JSON representation
A demo showcasing how we should be able to do index routes
- Host: GitHub
- URL: https://github.com/leon/bug-remix-index-route
- Owner: leon
- Created: 2022-01-08T16:16:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-08T16:19:34.000Z (over 4 years ago)
- Last Synced: 2024-12-28T00:43:29.263Z (over 1 year ago)
- Language: TypeScript
- Size: 95.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### A normal layout where the wrapper around the mdx files needs to be different from the index route
By specifying `articles.index.tsx` that indicates that I don't want to render the index route with the same wrapper, since most blog posts have a different layout then the blog start page.
currently this causes
```
Path "articles" defined by route "routes/articles" conflicts with route "routes/articles.index"
```
but I think it should be possible