Das ist meine Klinge Ansicht:CSS nicht in Laravel Klinge Laden (5.3)
@extends('emails.newlayout')
@section('title', 'Reminder')
@section('content')
<?php $total = 0; ?>
<table class="table table-striped">
<thead>
<tr>
<th>Name</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
@foreach ($sallary as $emp)
<tr>
<td>{{ $emp->employee['name'] }}</td>
<td>{{ $emp['value'] }}</td>
<?php $total += $emp['value']; ?>
</tr>
@endforeach
</tbody>
</table>
<p>Total: US${{ $total }}</p>
@stop
Und das ist im Header meiner newlayout.blade.php:
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
funktioniert gut auf mein Browser, wenn ich es als html öffne, aber wenn ich es auf laravel rendere, lädt es gerade das bootstrap css überhaupt nicht (lädt alles andere). Ich frage mich, was mache ich falsch?
OUTPUT
<table class="m_-7473167048951624218table m_-7473167048951624218table-striped">
<thead>
<tr>
<th>Name</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Test 2</td>
<td>1,093.55</td>
</tr>
<tr>
<td>Test 3</td>
<td>1,090.33</td>
</tr>
</tbody>
</table>
Was ist die Ausgabe nach dem Rendern auf Laravel? – Dekel
Alles, was es sollte, * außer * das Tabellen-Styling, das vom Bootstrap geladen werden sollte. – Rosenberg
Was ist - bieten die ** Exakt ** Ausgabe – Dekel