I'm trying to get the result of my crop in my setup function. According to the docs, this is the way in options API const { coordinates, canvas, } = this.$refs.cropper.getResult();. The composition way of doing this is like so:
For the Cropper I get many warnings: Component is missing template or render function, Invalid vnode type when creating vnode: null. Over and over again. And the Component doesn't render.
I'm trying to get the result of my crop in my setup function. According to the docs, this is the way in options API
const { coordinates, canvas, } = this.$refs.cropper.getResult();
. The composition way of doing this is like so:For the Cropper I get many warnings:
Component is missing template or render function
,Invalid vnode type when creating vnode: null.
Over and over again. And the Component doesn't render.It works without the syntactic sugar:
Any help is greatly appreciated.