版权声明:本文为博主原创文章,未经博主允许不得转载。转载时请附上转载链接。 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/>'
})
额 额额,这样的错误让人头痛。