出现此类错误: Error: .plugins[0][1] must be an object, false, or undefined 解决方案 module.exports = { presets: [ '@vue/cli-plugin-babel/preset' ], "plugins": [ ["component", { 在此行的‘’{‘’ 前的中括号去掉即可 "libraryName": "mint-ui", "style": true }] ] }