Ths should be simple enough, but...
I have a layout view dashboard-layout.blade.php with:
@section('headscripts')
<script src="" defer></script>
@show
And a billing.blade.php view that extends the layout file:
@extends('layouts.dashboard-layout')
@section('headscripts')
@parent
<script src="https://js.braintreegateway.com/web/dropin/1.17.2/js/dropin.min.js"></script>
@endsection
The problem is, this only outputs the first script...what am I doing wrong?
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2XKICBO
via IFTTT
Aucun commentaire:
Enregistrer un commentaire