원클릭으로
render-alert
Render alerts in Blade views using the container component.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Render alerts in Blade views using the container component.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | render-alert |
| description | Render alerts in Blade views using the container component. |
Use this skill when you need to display pushed alerts in your frontend using Blade, or when you need to filter which alerts are displayed in a specific part of your layout.
Place the <x-alerts-container /> component in your Blade layout (usually in the master template or above the main content) to render all pushed alerts.
<div class="container">
<x-alerts-container />
@yield('content')
</div>
Use the filter attribute to only show specific alert classes. Multiple classes can be separated by commas.
<!-- Only show specific alerts -->
<x-alerts-container filter="\App\Alerts\ImportantAlert" />
<!-- Show multiple specific alerts -->
<x-alerts-container filter="\App\Alerts\ErrorAlert,\App\Alerts\WarningAlert" />
The container view is located at laragear::alerts.container. You can publish and customize it if needed.
php artisan vendor:publish --tag="alerts-views"