Skip to content
New issue

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

a problem of convention in nested route #87

Open
lambdaxyzt opened this issue Nov 27, 2023 · 1 comment
Open

a problem of convention in nested route #87

lambdaxyzt opened this issue Nov 27, 2023 · 1 comment

Comments

@lambdaxyzt
Copy link

hi tnx for greate package ,
assume we have :

app/routes
├── servers+
│   ├── $serverName.jsx         
│   ├── index.jsx

should not $serverName.jsx have layout of server+/index.jsx file ?
because if I want to I should do this :

app/routes
├── servers.jsx
├── servers+
│   ├── $serverName.jsx         
│   ├── index.jsx
@kiliman
Copy link
Owner

kiliman commented Nov 27, 2023

If you're using hybrid routes, the layout route is _layout.tsx

servers+/_layout.tsx => servers.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants