pianello-api/resources/views/components/base/chart/index.blade.php

10 lines
286 B
PHP
Raw Normal View History

<canvas
{{ $attributes->class(merge(['chart', $attributes->whereStartsWith('class')->first()]))->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}
></canvas>
@once
@push('vendors')
@vite('resources/js/vendor/chartjs/index.js')
@endpush
@endonce