使用MUI时,导入mui.js遇到use strict 问题
使用babel-plugin-transform-remove-strict-mode移除严格模式
插件链接https://www.npmjs.com/package/babel-plugin-transform-remove-strict-mode
1、安装
$ npm install babel-plugin-transform-remove-strict-mode -D
2、使用(3种方式):
我是修改项目根目录 .babelrc 文件