“TypeError: Cannot read property ‘matched‘ of undefined“

错误示例:

vue.runtime.esm.js?c320:4605 [Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined"

found in

---> <App> at src/App.vue
       <Root>

“TypeError: Cannot read property ‘matched‘ of undefined“_第1张图片
我的解决方式:
main.js文件中的Router中的R写成r,控制台就不报错了,不知道为什么,你们参考一下,懂的可以评论回复我一下,嘻嘻。
“TypeError: Cannot read property ‘matched‘ of undefined“_第2张图片

你可能感兴趣的:(vue,javascript,前端,vue.js)