pianello-api/resources/views/components/base/preview-component/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

9 lines
261 B
PHP

<div {{ $attributes->class('preview-component')->merge($attributes->whereDoesntStartWith('class')->getAttributes()) }}>
{{ $slot }}
</div>
@once
@push('scripts')
@vite('resources/js/components/preview-component/index.js')
@endpush
@endonce