jeudi 26 octobre 2017

@push(custom-scripts') not working laravel

In laravel I'm using scripts.In view,

@push('custom-scripts')
 <script src="http://ift.tt/V757Mh"></script>
 @endpush

This is not working,But when use pushonce method instead,

It's working,and the code like

@pushonce('custom-scripts')
<script src="http://ift.tt/V757Mh"></script>
 @endpushonce

Why it's not working? How do I solve this?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2y5127P
via IFTTT

Aucun commentaire:

Enregistrer un commentaire