言诗把酒

关注

Vue warn] Component is missing template or render function

言诗把酒

关注

阅读 226

2022-02-20

解决方式:
检查script代码是否正确

示例1

<script setup>

</script>

示例 2

<script>
export default {
    setup () {
        

        return {}
    }
}
</script>

相关推荐

高子歌

vue 报错Failed to mount component: template or render function not defined.的解决方法

高子歌 76 0 0

修炼之士

[Vue warn] Failed to resolve component xxx

修炼之士 257 0 0

妖妖妈

[Vue warn] Failed to resolve component:报错问题。

妖妖妈 133 0 0

zibianqu

Vue项目报错 [Vue warn]: Error in render: “TypeError: Cannot read properties of null

zibianqu 129 0 0

七千22

[Vue warn]: Property or method “toJSON“ is not defined on the instance but referenced during render.

七千22 123 0 0

辰鑫chenxin

[Vue warn]: Property or method “c“ is not defined on the instance but referenced during render. Make

辰鑫chenxin 109 0 0

正义的杰克船长

[Vue warn]: Error in mounted hook: “TypeError: handler.call is not a function“

正义的杰克船长 70 0 0

孟佳

vue render

孟佳 82 0 0

哈哈镜6567

[opencv]GeneralProcessing_Template_Function

哈哈镜6567 25 0 0

半夜放水

[Vue warn] Extraneous non-emits event listeners (createSuccess) were passed to component but could

半夜放水 87 0 0

精彩评论(0)

0 0 举报