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.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2UQvVEF
via IFTTT
Aucun commentaire:
Enregistrer un commentaire