Vue项目启动速度慢,观察控制台发现提示:
No parser and no filepath given, using 'babel' the parser now but this will throw an error in t
he future. Please specify a parser or a filepath so one can be inferred.
解决方案:
1.升级vue-loader版本
2.降低prettier的版本,降低为prettier1.12.1
cnpm i prettier@1.12.1 -D
产生问题的原因参考: