而用来 polyfill 语法的 babel 是通过 @vue/cli-plugin-babel配置的,它依赖于core-js@2.x.x。还是npm 扁平化的特性,外层已经有了core-js@3.x.x。core-js@2.x.x只能在各自的子目录中重复安装。这样纵使我手动安装core-js@3.x.x依然不会作用到项目的 babel 中。(3)纵使我升级了@vue/cli-plugin-babel...
原博文 在vue中使用babel-polyfill 2018-05-21 14:43 −... wuln 1 1449 <1>
而用来 polyfill 语法的 babel 是通过 @vue/cli-plugin-babel配置的,它依赖于[email protected]。还是 npm 扁平化的特性,外层已经有了[email protected]。[email protected]只能在各自的子目录中重复安装。这样纵使我手动安装[email protected]依然不会作用到项目的 babel 中。(3)纵使我升级了@vue/cli-plugin-...