使用插件
npm install babel-plugin-transform-remove-strict-mode复制代码
.babelrc
{
"plugins": ["transform-remove-strict-mode"]
}
复制代码
在使用mui的滑动组件时会有个警告 如何去掉?
使用插件
npm install babel-plugin-transform-remove-strict-mode复制代码
.babelrc
{
"plugins": ["transform-remove-strict-mode"]
}
复制代码
在使用mui的滑动组件时会有个警告 如何去掉?
转载于:https://juejin.im/post/5bf3dbc95188257c5237a80e