Error: Couldn't find preset "es2015" relative to directory "F:\\"

Has invited:

网站管理员

Favor from:

 
先执行安装

npm install --save-dev babel-preset-es2015 

在package.json 增加一个字典
"babel": { "presets": [ "es2015" ] }
 

To reply to a question, please Login or registered