在边缘和Firefox上查看v-alert错误

时间:2019-08-27 20:36:56

标签: vue.js vuetify.js

我的vuetify应用程序在chrome中工作正常,但是在Edge和firefox中只是一个空白屏幕。

这是我在devtools中拥有的东西,看来vAlerts可能是问题所在。

为了确定起见,我已经删除了所有v-alert,但是在Edge和Firefox中仍然会发生错误。

enter image description here

SCRIPT1028:SCRIPT1028:预期的标识符,字符串或数字

enter image description here

1 个答案:

答案 0 :(得分:0)

必须在vue.config.js中添加它

module.exports = {
  transpileDependencies: ['vuetify']
}