在mpvue中使用iview框架toast组件时候报错
Module parse failed: Unexpected token (17:8)
You may need an appropriate loader to handle this file type.
页面引入const { $Toast } = require("../../../../static/iview/toast/index");
handleWarning() {
$Toast({
content: "警告的提示",
type: "warning"
});
},
错误详情
解决了吗,我也遇到了