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.tsxandapp.blog.tsxand ```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
加载中,请稍侯......
精彩评论