[Vue warn]: Error in render: "TypeError: Cannot read property 'matched' of undefined"

版权声明:本文为博主原创文章,未经博主允许不得转载。转载时请附上转载链接。 https://blog.csdn.net/qq_41009742/article/details/84287272

在这里插入图片描述
可能是我比较搞事情,错误代码如下

//路由router
import Router from './router'

new Vue({
  el: '#app',
  Router, //这里的Router要写成router,不然出错,相应的import部分也要改
  Store,
  components: { App },
  template: '<App/>'
})

额 额额,这样的错误让人头痛。

猜你喜欢

转载自blog.csdn.net/qq_41009742/article/details/84287272