标签: vue.js web-component stenciljs tsx
我正在为基于vuejs的stenciljs的Web组件包装器工作。我需要能够将vuejs组件或模板字符串作为VNode传递给我的Web组件。 有没有一种方法可以将vuejs模板字符串转换为
<template><div>My component</div></template> 至 createElement('div', 'My component') 语法?
<template><div>My component</div></template>
createElement('div', 'My component')
谢谢。