When using element-plus to import on demand and configure the vue.config.js file, an error is reported: ERROR Invalid options in vue.config.js: “plugins” is not allowed.
Solution: webpack-related configuration needs to be written into configureWebpack, not directly outside.