TypeError: this.getOptions is not a function

vue3+less安装报错:TypeError: this.getOptions is not a function

解决办法:less-loader版本太高,降低less-loader版本号即可。

"less": "^4.1.1",

"less-loader": "^5.0.0"


安装依赖npm install [email protected] less sass sass-loader --save-dev

你可能感兴趣的:(TypeError: this.getOptions is not a function)