I have a problem with the new "Slicemachine" version.
With the new function "getSliceComponentProps" I get the following error message.
However, if I set the "slice" back to the classic/options props, everything works wonderfully.
I have also attached two additional screenshots.
Does anyone else have this problem, or is this error already known?
Im getting the same issue, I also get a bunch of warnings regarding required props missing: Context, Index from each created slice. This is a newly created nuxt project with slicemachine/init.
Hello everyone.
We haven't been able to reproduce the issue. @SebastianGebhardt can you provide us with more information about your project? What's probably happening is that you're using vue-slicezone which isn't compatible with getSliceComponentProps. Instead you need to use: @prismicio/vue
Hi @Pau but your documentation here: vue-slicezone Technical Reference - Prismic says to use vue-slicezone when also having @prismic/vue or @prismic/nuxt installed? If I remove vue-slicezone I now get the issue "Invalid prop: type check failed for prop "slices". Expected Array, got Undefined " but the slices prop has data and is defined.
Not using react, Im using the @prismic/nuxt module.
Im sure all this works, but your documentation is all over the place and outdated. Another example I tried doing a fresh install and repo using npx @slicemachine/init
and following the docs here: Setup a Prismic in a Nuxt Project - Prismic and get the error "Error: Can't resolve 'vue-slicezone' in ..." as it cant find vue-slicezone as its not installed during @slicemachine/init. So this needs changed as you say we shouldnt be using vue-slicezone.