-
Notifications
You must be signed in to change notification settings - Fork 119
Render markup separately from scripts #96
Copy link
Copy link
Open
Description
This is a bit more of a feature request, but it would be ideal if you could render the markup separately from the scripts.
So then you can push your scripts out of the main body of the template to avoid conflict with other vue elements.
Before:
@section('body')
<div class="chart">
{{$chart->render()}}
</div>
@endsection
After:
@section('body')
<div class="chart">
{{$chart->markup()}}
</div>
@endsection
@push('scripts')
{{$chart->script()}}
@endpush
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels