NuxtN
Nuxtβ€’15mo ago
IsaacR943

[plugin:vite:vue] Codegen node is missing for element/if/for node. Apply appropriate transforms firs

UPDATE: Vue / vite error

No clue how to solve this. Context - I have one layout passing props to the only slot. The props in this slot are used by all pages. For some reason the code breaks with the next implementation
// layout.vue
<main>
       <slot
      :headerContent="header"
      :keyPartnerships="key_partnerships"
      :keyActivities="key_activities"
      :keyResources="key_resources"
   ></slot>
  
    </main>

// component that uses the slot
     <template v-slot="{ headerContent, ... }" >

        <dynamicScrollCard title="πŸ§‘πŸ»β€πŸ€β€πŸ§‘πŸ» Key Partners" content="another content" :mykey="keyPartnerships" />
....
      </template>

im sure it has to do with templates.
Was this page helpful?