Problem Description: Perform npm install vue-style-loader css-loader sass-loader --save-dev installed after css related dependence, npm run dev, Project error: TypeError: this.getResolve is not a function
The reason: sass-loader version installed to the latest 8.0.0, see the online version of information that is too high causes a compilation error.
Solution:
The project package.json file sass-loader version 7.3.1 instead. Execute the command, reinstall the project dependencies:
npm install
Then, start the project:
npm run dev
Enough!
Original link: https://www.cnblogs.com/charleswong/p/11439245.html