vue init webpack建vue项目报错的解决方法

使用vue init webpack创建vue项目时报如下错误: vue init webpack my-project C:UserscomputerAppDataRoaming pm ode_modulesvue-clibinvue-init:60 let template = program.args[0] ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.runInThis
pdf 文件大小:29.23KB