错误写法: 报错:Invalid options in vue.config.js: "plugins" is not allowed 正确写法: webpack的相关配置需要写到configureWebpack里面 随手一记