vue webpack template missing parser

后端 未结 7 1355
离开以前
离开以前 2020-12-07 17:28

I was just setting up a vue project using the webpack template like stated here: http://vuejs-templates.github.io/webpack/

However after running npm run dev just to

相关标签:
7条回答
  • 2020-12-07 18:30

    Since vue-cli uses prettier API interface here and hardcoded the options, and prettier dependency was added in project @vue/component-compiler-utils.

    You could try npm i prettier@~1.12.0 to force the prettier version here.

    BTW someone did a pull request with the fix

    0 讨论(0)
提交回复
热议问题