关于VUE CLI3中路由配置遇到的问题Unknown custom element: - did you register the component correc...

MAIN.js中引入了自己配置的路由文件,但是路由文件中没有引用对应vue-router,本次报错的解决方法如下:在路由文件加上红框的两行代码,报错消失了~


你可能感兴趣的:(关于VUE CLI3中路由配置遇到的问题Unknown custom element: - did you register the component correc...)