vue SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside ...

在使用vue_cli时出现如下错误:

vue SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside ..._第1张图片

原因是  node  版本太低 应该升级  

 

转载于:https://www.cnblogs.com/guangzhou11/p/8992780.html

你可能感兴趣的:(vue SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside ...)