@@ -45,9 +45,14 @@ function gtag() {
4545 <meta name =" viewport" content =" width=device-width, initial-scale=1" >
4646 <title >@yield (' title' )</title >
4747 <link href =" {{ asset (' favicon.ico' ) } }" rel =" shortcut icon" />
48- <link href =" https://fonts.googleapis.com/css?family=Montserrat:400,500,700" rel =" stylesheet" >
49- <link href =" https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel =" stylesheet" >
50- <link type =" text/css" href =" {{ asset (' css/app.css' ) } }" rel =" stylesheet" />
48+
49+ @php
50+ $manifest = json_decode (file_get_contents (public_path (' build/manifest.json' )), true );
51+ @endphp
52+
53+ <link type =" text/css" href =" {{ asset (' public/build/' . $manifest [' css/app.css' ][' file' ]) } }" rel =" stylesheet" />
54+ <link href =" https://fonts.googleapis.com/css?family=Montserrat:400,500,700" rel =" stylesheet" >
55+ <link href =" https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel =" stylesheet" >
5156 <link type =" text/css" href =" https://cdn.jsdelivr.net/gh/kenwheeler/slick@1.8.1/slick/slick-theme.css" rel =" stylesheet" />
5257 <link type =" text/css" href =" https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css" rel =" stylesheet" />
5358 <link href =" https://cdn.jsdelivr.net/npm/intl-tel-input@23.3.0/build/css/intlTelInput.css" rel =" stylesheet" >
@@ -83,7 +88,7 @@ function gtag() {
8388
8489 @include (' partials.footer' )
8590 <script type =" text/javascript" src =" https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js" ></script >
86- <script src =" {{ asset (' js/app.js' ) } }" ></script >
91+ <script src =" {{ asset (' public/build/ ' . $manifest [ ' js/app.js' ][ ' file ' ] ) } }" ></script >
8792</body >
8893
8994</html >
0 commit comments