From 24208eebb57417f27bb9d1609e502c352451d8c1 Mon Sep 17 00:00:00 2001 From: Abraham Achile Ben-Obaje <38069059+abbieben07@users.noreply.github.com> Date: Thu, 18 Aug 2022 06:38:52 +0100 Subject: [PATCH] update for Vue 3 --- src/resolvers/Vue.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/resolvers/Vue.js b/src/resolvers/Vue.js index 579a96b..0f31d96 100644 --- a/src/resolvers/Vue.js +++ b/src/resolvers/Vue.js @@ -1,12 +1,13 @@ import { ReactWrapper } from '../' +import {h} from "vue" export default function VueResolver (component) { return { components: { ReactWrapper }, props: ['passedProps'], inheritAttrs: false, - render (createElement) { - return createElement( + render () { + return h( 'react-wrapper', { props: {