I use Laravel 5.3,
I use laravel's default template(blade) to make layout and process my page.
Here i can't use @push to include my script,
but i can use @include to work fine.
What's the issue on these two implementations ?
Why its not support @push, but same script work fine with @include
My Code :
// My Scripts //
// My New Scripts //
@include is just for importing/including a particular blade file.
To render any code you've pushed to a stack you need to use the
@push('scripts') // My New Scripts // @endpush
Hope this helps!