Sass Loader Error: Invalid options object that does not match the API schema

后端 未结 7 544
别跟我提以往
别跟我提以往 2020-12-16 09:40

I\'m using VueJS with the framework VuetifyJS (v2.0.19). I\'m getting this error after running npm run serve:

Sass Loader has been initialise

7条回答
  •  抹茶落季
    2020-12-16 10:01

    indentedSyntax is part of the sassOptions:

    sassOptions: {  indentedSyntax: true  }
    

    For example:

    {
        loader: 'sass-loader',
        options: {
            sassOptions: {
                indentedSyntax: true
            }
        }
    }
    

    So - change your Webpack config to reflect that.

提交回复
热议问题