first of all, the question is not about the solution, but about the best practice.
my blade is:
@if (!empty($amount))
<div class="amount ">
</div>
@endif
color class is defined in service by amount. But I can bet, that is bad architectural solution.
So I need an advice about best practice in laravel for customizing blade class.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire