vue-admin-element
reports an error when npm run dev
element-variables.scss this.getOptions is not a function
error in ./src/styles/element-variables.scss
Syntax Error: TypeError: this.getOptions is not a function
It was found that when the last error was reported, all dependencies in package.json
were updated to the latest version
This time the error was reported for this reason
After removing sass-loader
Just reinstall to version 10
npm remove sass-loader
npm i sass-loader@10.1.1