关于vue Unexpected identifier 问题

vue对于es6虽然自带babel转换 但是在index.html文件中并不会发生转换 因此在index.html中使用新的语法会导致低版本浏览器不识别代码因此报出Unexpected identifier 错误。

猜你喜欢

转载自www.cnblogs.com/bicycle-lei/p/9199944.html