Sass-loader error 'options has an unknown property 'indentedSyntax'' when upgrading Vuetify from 1.5 to 2

后端 未结 5 941
日久生厌
日久生厌 2021-01-14 09:59

I am upgrading Vuetify in my Vue CLI 3 project from version 1.5 to 2. I have followed these instructions, doing a full install. Since the upgrade, running \'npm run serve\'

5条回答
  •  既然无缘
    2021-01-14 10:57

    If you use NUXT you should configure like this:

    //nuxt.config.js
    loaders: {
      less: {
        lessOptions: {
          javascriptEnabled: true,
          modifyVars: {
            'primary-color': '#5c6ac4',
            'layout-body-background': '#fff'
          }
        }
      }
    }
    

提交回复
热议问题