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

在Vue中添加新的路由的时候  就会报错

解决办法

原文地址:https://www.cnblogs.com/qlb-7/p/13202749.html