[vue-router] Failed to resolve async component default
粉丝福利 : 关注VUE中文社区公众号,回复视频领取粉丝福利
SyntaxError: 缺少 ‘:’
[vue-router] Failed to resolve async component default: SyntaxError: 缺少 ‘:’
[vue-router] uncaught error during route navigation:
SyntaxError: 缺少 ‘:’
在IE9里面 报vuex不能用
然后按照网上的方法
npm install babel-polyfill --save-dev ,
然后在main.js加上
import 'babel-polyfill
然后运行出现以下错误
SyntaxError: 缺少 ‘:’
[vue-router] Failed to resolve async component default: SyntaxError: 缺少 ‘:’
[vue-router] uncaught error during route navigation:
SyntaxError: 缺少 ‘:’