Skip to content

Render markup separately from scriptsΒ #96

@jpswade

Description

@jpswade

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions