vue3项目打包部署后component 无法解析vue代码
<component name="Report" v-bind:is="{template: '123'}">component>
在本地运行有正常显示,但打包部署后这段代码就变成了
我将{template: '
components:{ report:{template: '<div>123div>'}}
name="Report" is="report">
效果相同
这样试下
<component name="Report" :is="report"></component>