我有一个很好的.blade.php
视图和css设计,但当我把一个变量像{{$data}}
或甚至在每个循环{{$d->col1}}
内,css设计逃脱。
是什么原因
@foreach($data as $d )
{{$d->price}}
@endforeach
我纠正了自己,我改变了
<link rel="stylesheet" href="css/bootstrap.min.css" rel="stylesheet">
至
<link rel="stylesheet" href="{{ asset('css/bootstrap.min.css') }}" rel="stylesheet">
问题解决了。