In normal, I have a master file (amp-html project)
localhost/windows 10/apache2.2/php7.2.2
in views root: master.blade.php
<html>
<header>
@yield('meta')
</header>
</html>
and now I call a sub view:
in home.blade.php
@extends('master')
@section('meta')
@include('home.style')
@endsection
and in style.blade.php
<style amp-custom>
@font-face {
font-family: "iransans";
src: url("fonts/irsans.ttf");
}
body{font-family:"iransans", sans-serif; font-size: .8rem; background-
color:#FFFFFF}
</style>
the code run without any problem.
but when I write in style.blade.php more than 400 line code, the page can not open in browser. (it loading without any error)
I google chorme developer tools in got this error
Failed to load resource: net::ERR_CONNECTION_RESET