当前位置:网站首页>Failed to mount component: template or render function not defined.
Failed to mount component: template or render function not defined.
2022-08-09 08:54:00 【Your-Nikee】
可能原因:
使用路由懒加载动态引入路由时,没有置换为新版本的引入格式,改为
require(`@/views${
item.component}`).default
//or
import(`@/views${
item.component}`).default
即可
在新建的组件内容中不含template元素,在你新建的元素中加入template元素即可
边栏推荐
猜你喜欢
随机推荐
The working principle of switch
ctf misc 图片题知识点
正则之re模块
Redis缓存设计
BUUCTF MISC Writing Notes (1)
XCTF College War "Epidemic" Network Security Sharing Competition Misc wp
leetcode 35. 搜索插入位置(二分法+找性质也很关键)
Routing configuration forwarding and experiment
一篇文章带你熟悉 TCP/IP 协议(网络协议篇二)
没有对象的可以进来看看, 这里有对象介绍
mysql-5.5.40的完全卸载
【愚公系列】2022年08月 Go教学课程 033-结构体方法重写、方法值、方法表达式
DeFi 项目中的治理Token
Go语言技巧之正确高效使用slice(听课笔记总结--简单易懂)
VLAN的原理及配置
PoPW代币分配机制或将点燃下一个牛市
腾讯云服务器修改为root登录安装宝塔面板
requests之数据解析Xpath介绍
【场景化解决方案】OA审批与用友U9数据集成
Boot process and service control