Unable to get Nested Layout
working
#1797
Unanswered
traviscooper
asked this question in
Help & Questions
Replies: 2 comments 1 reply
-
Just got a similar error, but in my case, nested layouts got combined with each other in a nested way:
Resulted in:
Versions:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@traviscooper Have you seen the note at https://vike.dev/Layout saying you need @Khardian That's expected, see https://vike.dev/Layout#nested-layouts. I'm moving this to discussions because AFAICT it isn't a Vike issue, but correct me if you believe I'm wrong. Also have a look at https://brillout.github.io/rules#try. |
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
-
Description
I'm working with the https://github.com/vikejs/vike/tree/main/boilerplates/boilerplate-react-ts example from the repo.
I added a nested
+Layout.tsx
file to the following structure:Issue
Layout is not picked up or handled in any way.
react()
andvike()
plugins are enabled by default in thevite.config.js
file included in the boilerplate.Versions
Beta Was this translation helpful? Give feedback.
All reactions