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
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