Default layout multiple named slots not working #1519
              
                Unanswered
              
          
                  
                    
                      fidderr
                    
                  
                
                  asked this question in
                Help (Vue)
              
            Replies: 1 comment
-
| i was able to create a crude work-around that works for me but it is not really a valid fix: app.js inside of createInertiaApp: example layout: page: component:  | 
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.
-
how can i access named slots that are present in the default layout, from the current page?
app.js:
example layout:
page:
this generates the error:
[plugin:vite:vue] Codegen node is missing for element/if/for node. Apply appropriate transforms first.i can get rid of the error if i remove #header but then it is not placed correctly in the slot.
Beta Was this translation helpful? Give feedback.
All reactions