react 用es6怎么引入插件

2025-04-25 16:04:07
推荐回答(2个)
回答1:

安装三个模块 npm i babel-loader babel-core babel-preset-es2015 -D

回答2:

不同的插件调用方法是不同的。