使用MUI时,导入mui.js遇到use strict 问题

vue项目 移除严格模式解决冲突问题

vue项目 移除严格模式解决冲突问题

使用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种方式): 

vue项目 移除严格模式解决冲突问题

我是修改项目根目录 .babelrc 文件 

 vue项目 移除严格模式解决冲突问题

相关文章:

  • 2021-12-05
  • 2022-02-23
  • 2022-12-23
  • 2021-12-08
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-26
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2021-12-21
  • 2021-07-17
  • 2021-06-12
  • 2022-12-23
相关资源
相似解决方案