"[Vue warn]: Failed to mount component: template or render function not defined"
新搭了个vue项目,谢了几个页面,当添加路由时,发现总是提示错误"[Vue warn]: Failed to mount component: template or render function not defined"错误的解决于是找到了两种解决方法require 路径时 错误: component: require(’…/components/movie/movie.vue’)...