Replies: 1 comment 1 reply
-
You are doing it correctly. The docs can be found here https://remix.run/docs/en/v1/api/conventions#file-name-conventions |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, I'm testing remix. And in my test project, I wanted to make a (public) layout for the part of the site visible to a non-login user. And a (private) layout so that logged in users can access it.
I found on the internet (not on the remix documentation), that I had to do something like:
this structure with __ allows me to put a layout in
__index.tsx
and a different layout in
admin.tsx
my question is :
Thanks for your future response.
Beta Was this translation helpful? Give feedback.
All reactions