error in ./src/pages/login.vue?vue&type=style&index=0&lang=less&

vue-cli3 create less engineering, npm run serve not run

bug workaround:

rm -rf node-modules

Modify package.json is
"less": "^ 3.9.0" ,
then yarn install
Running the project findings suggest that the lack of less-loader
to install less-loader to
paper Solution divergence from: https://github.com/vuejs/ vue-cli / issues / 4449

Guess you like

Origin www.cnblogs.com/smart-girl/p/11475100.html