you write a functional component as if it were react and at the bottom of the script tag do a export default defineComponent(componentFn, [string-array-of-props]) which is the only place where Vue not being fully comfortable with JSX comes into play
you write a functional component as if it were react and at the bottom of the script tag do a export default defineComponent(componentFn, [string-array-of-props]) which is the only place where Vue not being fully comfortable with JSX comes into play
No replies