Replies: 3 comments 1 reply
-
This would introduce unnecessary noise in filenames, if you do that you would get a folder structure like:
instead of the easier to process
and if you get nested layouts this would become even more unwieldly. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Good point. Is it possible to do this?
|
Beta Was this translation helpful? Give feedback.
1 reply
-
They added named layouts recently. I also suggested it in #5037 |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
With the named layout syntax available how about moving the layouts to their own folder and having a reserved layout named 'default'.
Secondary request - find a nicer way to run arbitrary code on every page load for things like auth and setting up a urql that doesn't involve repetition/making a mess in layouts.
Beta Was this translation helpful? Give feedback.
All reactions