如何在 chrome 上 set/link yield laravel favicon?

How to set/link favicon in yield laravel on chrome?

我想把我的 link 图标放在 yield 中,但它不起作用,

如果我把部分放在它工作顺利。我不想把它放在每一页。

这是我的代码

<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>@yield('title')</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no' name='viewport' />
<!--     Fonts and icons     -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700,200" rel="stylesheet" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" />

<link rel="shortcut icon" sizes="72x72" href="{{{ asset('assets/img/ficon.png') }}}">

<!-- CSS Files -->
<link href="./assets/css/bootstrap.min.css" rel="stylesheet" />
<link href="./assets/css/now-ui-kit.css?v=1.1.0" rel="stylesheet" />
<!-- CSS Just for demo purpose, don't include it in your project -->
<link href="./assets/css/demo.css" rel="stylesheet" />

更新 :: 我在 firefox 中打开它可以工作但无法在 chrome 上显示,我也在更新我的 chrome 但仍然无法工作...

尝试添加大小,您的 png 可能太大了。

 //resize the image using a photo editing software to either 144x144,114x114 or  72x72 
 //then specify the size like below

 <link rel="shortcut icon" sizes="114x114" href="{{{ asset('assets/img/ficon.png') }}}">

或者试试这个:

<link rel="shortcut icon" sizes="114x114" href="assets/img/ficon.png">

您也可以尝试找到此解决方案 here 来修复 chrome 问题