当用Vue模块化开发时,输入  http://localhost:8080  页面没有显示,首先按F12,检查是否有如下错误

[Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined"  found in <App> at src/App.vue-LMLPHP

话不多说😂,直接看下面:

[Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined"  found in <App> at src/App.vue-LMLPHP

解决方法1

[Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined"  found in <App> at src/App.vue-LMLPHP

如果是上面出的问题,以后就要注意了哦😁,以后说美女,要注意哦!可能说出去了得到不好结果哦😄。那就...... 。例如:就好比你说美女,具体是指哪个美女?😂。正确做法:"美女:孙尚香"




如果上面代码没有问题,就检查如下图的红线部分component是否多了  's'  ,去掉就行了

[Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined"  found in <App> at src/App.vue-LMLPHP

10-03 22:11