Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/weixin_40688217/article/details/91049907
Recently stepped on a pit in time of review vue-router, router-view can not be rendered
The following is a router code
A closer look will find ...... line 4 and line 14 ...... should be written component and I wrote the Comment ,
why not a word that causes a load out ......
Visiting the forum found that there is a very important point, and that is where the written routes must be sure not to write other (here not, for example, and their own imagination, to avoid misleading)
After correction