Angular7应用程序无法在Safari浏览器中运行

时间:2019-07-05 05:52:04

标签: angular safari cross-browser angular7

我知道这个问题已经问过很多遍了,但是所提到的方法或方法都不适合我。 我正在使用 ANGULAR 7 构建我的项目,但不适用于所有版本的safari

它没有显示任何错误或警告。

有什么方法可以检测我的项目是否与浏览器兼容?如果是,请告诉我

1 个答案:

答案 0 :(得分:0)

您可以在Angular uinsg browserslist文件中定位浏览器支持

# For IE 9-11 support, please uncomment the last line of the file and adjust as needed
> 0.5%
last 2 versions
Firefox ESR
safari 12.1
safari 12
not dead
# IE 9-11

您看到我是Safari 12和12.1的目标支持版本,您可以向该文件添加要支持的版本

可以找到支持浏览器的列表here

相关问题