pianello-api/resources/views/components/base/tom-select/index.blade.php
Ale Gallo 96c0bfb8ce Committing laravel (part 5)
committing blade templating files and components that might come in handy
2023-11-10 16:41:20 +01:00

15 lines
362 B
PHP

<select {{ $attributes->class(['tom-select'])->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}>
{{ $slot }}
</select>
@once
@push('vendors')
@vite('resources/js/vendor/tom-select/index.js')
@endpush
@endonce
@once
@push('scripts')
@vite('resources/js/components/tom-select/index.js')
@endpush
@endonce