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

10 lines
261 B
PHP
Raw Permalink Normal View History

<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