[Vue warn]: Failed to mount component: template or render function not defined.

付费节点推荐


免费节点


节点使用教程


vue router 里有一个 模式叫做 命名视图
本来一个页面里面只能有一个路由视图 对应 一个组件(component),现在可以多个路由视图 对应 多个组件(components)。

出错点

然后,就在我部署好了后,出现如下报错

[Vue warn]: Failed to mount component: template or render function not defined.
found in
—> <Anonymous>
<App> at D:\vue\vue demo\vue-project\src\App.vue
<Root>

原因

component 少写了s  

 

未经允许不得转载:Bcoder资源网 » [Vue warn]: Failed to mount component: template or render function not defined.

相关推荐

更多优质资源关注微信公众号: bcoder

bcoder
赞 (0)
分享到:更多 ()

评论 0

评论前必须登录!

登陆 注册