Syntax Error: Unexpected token, expected {
加入.babelrc文件
{ "presets": [ "es2015-loose", "stage-1" ], "plugins": [ "transform-flow-comments" ] }
加入.babelrc文件
{ "presets": [ "es2015-loose", "stage-1" ], "plugins": [ "transform-flow-comments" ] }