vue webpack template missing parser

后端 未结 7 1375
离开以前
离开以前 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:24

    If you're using Yarn add this to your package.json to force @vue/component-compiler-utils to use the right version:

    "resolutions": {
      "@vue/component-compiler-utils/prettier": "1.12.1"
    }
    

    Then do a fresh install.

    reference

提交回复
热议问题