Why no slots in layouts?
[issue link]Hey!
With our current project, me and the team was wondering what was the reasoning behind the decision to not support slots in layouts?
We ran into it when we realized that a CSS grid layout would work best for our responsive view, since each page knows what kind of sidebar or extra content is required in this specific case. For that the structure would need to be like this:
html
head
...
body
my-header
nuxt
#content
slot
#sidebar
slot(name="sidebar")
#extra
slot(name="extra")
my-footer
Right now the two options we see are using a separate layout component or somehow coordinating sidebar and extra components to make their own requests according to current route, but both feel at odds with overall simplicity Nuxt aims for.