vue错误和解决方法 1.Error in render function: "TypeError: Cannot read property 'matched' of undefined 原因:之前不知道,在引用路由时创建变量名是规定好的 const route = new VueRouter({ routers}) 改成 const router = new VueRouter({ routers}) Solve problems in the most elegant way