-
I want to create a layout for the root routes ( |
Beta Was this translation helpful? Give feedback.
Answered by
boehs
Apr 19, 2023
Replies: 1 comment
-
You can do the normal outlet syntax, but wrap the folder in () ie: And the file in routes would be named |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tscpp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do the normal outlet syntax, but wrap the folder in ()
ie:
routes/(layout)/foo.tsx
And the file in routes would be named
(layout).tsx