router-view v-slot={ Component }
hi all
I'm working on an SSR project with Vue 3 and since nuxt already has Vue 3 I was trying to do a copy of the project using nuxt.
The project uses a server driven ui approach, so basically everything comes from the server (we don't have defined pages, the content of each page is defined on the backend where the editor chooses the components and the content for each one of them)
So, on app.vue we have something like this:
When I try to run the app I get an error on 'Component'
I already updated the template to this but i still get the same error:
So my question is, what's the correct way to replace the '<router-view v-slot="{ Component }">'?
Thanks
2 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Also tried with NuxtPage and didn't work. And from what I saw on the docs, NuxtPage it's when you have files inside the pages folder
Looks like the problem was with the data received.
At least for this way it's working