基於vue項目的組件中導入mui框架初始化滑動等效果時,控制台報錯:Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
可使用 babel-plugin -transform-remove-strict-mode 移除嚴格模式
可先進行$ npm install babel-plugin-transform-remove-strict-mode安裝此插件
再.babelrc文件中添加以下內容即可
{
"plugins":
}
