Cannot find module 'vuetify-loader/lib/plugin'

后端 未结 10 1892
你的背包
你的背包 2021-02-06 12:39

When I load vuetify via the vue-cli3, I get an error when i do npm run serve, saying there is a missing loader.

Docs etc and searches have come up blank.

This is

10条回答
  •  梦谈多话
    2021-02-06 13:10

    I had the same problem. This whole thing worked out for me.

    1. vue create your-app
    2. cd your-app
    3. npm i --save-dev --no-optional vuetify-loader vue-cli-plugin sass node-sass sass-loader
    4. npm i
    5. vue add vuetify

    I know this looks redundant but it worked.

提交回复
热议问题