After elementui is introduced, there is no effect to solve the modification of vue.config.js configuration

The project has obviously introduced element-ui and styles globally, but it just doesn't work and no error is reported. It turns out that it is a configuration problem in vue.config.js:
Insert picture description here

This code comment can display the element style normally, otherwise it won’t work anyway.

requireModuleExtension: false

Guess you like

Origin blog.csdn.net/dyw3390199/article/details/114358014