报错:No match found for location with path "/home"
真的好想死的样子,bing.谷歌。浏览十页之多,各种网站看,了,md,从不会都要到会了,你知道我犯的什么错误吗?就因为单词拼错了,导致,路径一只对不上,vue2跑到vue3,呜呜呜呜呜
{ path: "/home", // name: 'Home', comphonent: Home, },
这里的comhonent 拼写错误了,正确应该是这样,很好这个bug,花费了我大概4个下小时
正确拼写
componentcomponentcomponentcomponentcomponent懂了。我cao.webstrom 不提醒我的吗!!!!!!