错误原因一:
You might be running into the breaking change described here: https://github.com/vuejs/vue-loader/releases/tag/v13.0.0 修改方法
1: component: (resolve) => require([’@/views/home/home.vue’], resolve),
2: component: require(’…/components/movie/movie.vue’).default
错误原因二:
目录中有相同文件名的vue文件与js文件
修改方法:
require时带上后辍名