解决方案:
1)进入项目根目录;
npm i eslint prettier-eslint eslint-config-prettier --save-dev
原因:
I just had this error: I was manually installing the prettier modules, and only hadeslint-plugin-prettier
but noteslint-config-prettier
.
报错Failed to load config “prettier“ to extend from.两步解决方案
阅读 172
2022-02-21
解决方案:
1)进入项目根目录;
npm i eslint prettier-eslint eslint-config-prettier --save-dev
原因:
I just had this error: I was manually installing the prettier modules, and only hadeslint-plugin-prettier
but noteslint-config-prettier
.
相关推荐
精彩评论(0)