新建vue项目,创建后出现Parsing error: No Babel config file detected for的错误,如下: 解决方法: 在 package.json 文件中的 parserOptions 中加入 "requireConfigFile": false 就可以了。