运行vue run serve出现core-js相关错误
作者:互联网
1. 安装core-js
npm install core-js or npm install core-js@2
2. 在babel.config.json中引入
module.exports = { presets: ["@vue/cli-plugin-babel/preset"], // 引入这个 presets: [ [ "@vue/app", { useBuiltIns: "entry" } ] ] };
标签:npm,core,vue,run,babel,presets,js 来源: https://www.cnblogs.com/xingfuggz/p/14318312.html