VUE 报错:Error: .presets[0] must be a string, object, function
VUE 报错:Error: .presets[0] must be a string, object, function
·
修改为
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset',
["@babel/preset-env", { "modules": false }]
],
"plugins": [
[
"component",
{
"libraryName": "element-ui",
"styleLibraryName": "theme-chalk"
}
]
]
}
更多推荐
已为社区贡献2条内容
所有评论(0)