I want to create a route in Remix Run, without URL nesting or Layout Nesting
How do you create a link like xx.com/blog
and have it load from a different file
without keeping it in the ro开发者_如何学Goutes
folder
if you have unwanted layout defined in app/root.tsx
and app/routes/index.tsx
I tried the method of using dot notation
- such as
root.blog.tsx
andapp.blog.tsx
and ```app.index.tsx
where I kept the file blog.tsx
or index.tsx
in routes/blog/
I tried creating a special URL from remix.config.tsx
but it didn't remove the layout
精彩评论