Tried to make +layout groups and cannot make it work? #12485
JimNayzium
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a folder in the roote named (group1) and inside it one +layout.svelte file and one folder with "folder/folder2/folder3/+page.svelte" in it.
And in the root next (group1) I have +layout.svelte.
No matter what I do, the deeper +page.svelte catches the +layout.svelte from the root also and combines them in an odd way. I tried removing the from the deeper one and no joy.
Will I need only paranthesis folders in the root and that is all? like
(group1) ---> / folder1/folder2/folder3
and (group2) ---> /rest of the routes?
I am so confused on how to do this I have taken almost embarrassingly all my saturday trying to just create the simplest of versions.
Beta Was this translation helpful? Give feedback.
All reactions