Do you want to use sass-loader in your Vue app – but you have
“Module build failed: TypeError: this.getResolve is not a function at Object.loader” ?
Don’t worry, below is the answer to how to deal with that!
The main problem here is that your version of webpack and sass-loader are not compatible, you can update your webpack to the newest version and try to make it with sass-loader, but probably you will have more errors right now.
To Fix problem with – Module build failed: TypeError: this.getResolve is not a function at Object.loader. Just downgrade sass-loader:
npm uninstall --save-dev sass-loader npm install --save-dev [email protected]
And that’s all! Fast and easy – now you can use in components styles lang=”scss”