-
Notifications
You must be signed in to change notification settings - Fork 0
chore(frontend): install livewire and blade heroicons #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,6 +12,7 @@ This application is a Laravel application and its main Laravel ecosystems packag | |||||
| - php - 8.4 | ||||||
| - laravel/framework (LARAVEL) - v13 | ||||||
| - laravel/prompts (PROMPTS) - v0 | ||||||
| - livewire/livewire (LIVEWIRE) - v4 | ||||||
| - laravel/boost (BOOST) - v2 | ||||||
| - laravel/mcp (MCP) - v0 | ||||||
| - laravel/pail (PAIL) - v1 | ||||||
|
|
@@ -25,6 +26,7 @@ This application is a Laravel application and its main Laravel ecosystems packag | |||||
| This project has domain-specific skills available. You MUST activate the relevant skill whenever you work in that domain—don't wait until you're stuck. | ||||||
|
|
||||||
| - `laravel-best-practices` — Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns. | ||||||
| - `livewire-development` — Use for any task or question involving Livewire. Activate if user mentions Livewire, wire: directives, or Livewire-specific concepts like wire:model, wire:click, wire:sort, or islands, invoke this skill. Covers building new components, debugging reactivity issues, real-time form validation, drag-and-drop, loading states, migrating from Livewire 3 to 4, converting component formats (SFC/MFC/class-based), and performance optimization. Do not use for non-Livewire reactive UI (React, Vue, Alpine-only, Inertia.js) or standard Laravel forms without Livewire. | ||||||
| - `pest-testing` — Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Always activate when the user asks how to write something in Pest, mentions test files or directories (tests/Feature, tests/Unit, tests/Browser), or needs browser testing, smoke testing multiple pages for JS errors, or architecture tests. Covers: test()/it()/expect() syntax, datasets, mocking, browser testing (visit/click/fill), smoke testing, arch(), Livewire component tests, RefreshDatabase, and all Pest 4 features. Do not use for factories, seeders, migrations, controllers, models, or non-test PHP code. | ||||||
| - `tailwindcss-development` — Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex/grid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3/v4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML/CSS component, CSS file audits, build tool configuration, and vanilla CSS. | ||||||
|
|
||||||
|
|
@@ -139,6 +141,14 @@ This project has domain-specific skills available. You MUST activate the relevan | |||||
|
|
||||||
| - Laravel can be deployed using [Laravel Cloud](https://cloud.laravel.com/), which is the fastest way to deploy and scale production Laravel applications. | ||||||
|
|
||||||
| === livewire/core rules === | ||||||
|
|
||||||
| # Livewire | ||||||
|
|
||||||
| - Livewire allow to build dynamic, reactive interfaces in PHP without writing JavaScript. | ||||||
|
||||||
| - Livewire allow to build dynamic, reactive interfaces in PHP without writing JavaScript. | |
| - Livewire allows you to build dynamic, reactive interfaces in PHP without writing JavaScript. |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,6 +12,7 @@ This application is a Laravel application and its main Laravel ecosystems packag | |||||
| - php - 8.4 | ||||||
| - laravel/framework (LARAVEL) - v13 | ||||||
| - laravel/prompts (PROMPTS) - v0 | ||||||
| - livewire/livewire (LIVEWIRE) - v4 | ||||||
| - laravel/boost (BOOST) - v2 | ||||||
| - laravel/mcp (MCP) - v0 | ||||||
| - laravel/pail (PAIL) - v1 | ||||||
|
|
@@ -25,6 +26,7 @@ This application is a Laravel application and its main Laravel ecosystems packag | |||||
| This project has domain-specific skills available. You MUST activate the relevant skill whenever you work in that domain—don't wait until you're stuck. | ||||||
|
|
||||||
| - `laravel-best-practices` — Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns. | ||||||
| - `livewire-development` — Use for any task or question involving Livewire. Activate if user mentions Livewire, wire: directives, or Livewire-specific concepts like wire:model, wire:click, wire:sort, or islands, invoke this skill. Covers building new components, debugging reactivity issues, real-time form validation, drag-and-drop, loading states, migrating from Livewire 3 to 4, converting component formats (SFC/MFC/class-based), and performance optimization. Do not use for non-Livewire reactive UI (React, Vue, Alpine-only, Inertia.js) or standard Laravel forms without Livewire. | ||||||
| - `pest-testing` — Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Always activate when the user asks how to write something in Pest, mentions test files or directories (tests/Feature, tests/Unit, tests/Browser), or needs browser testing, smoke testing multiple pages for JS errors, or architecture tests. Covers: test()/it()/expect() syntax, datasets, mocking, browser testing (visit/click/fill), smoke testing, arch(), Livewire component tests, RefreshDatabase, and all Pest 4 features. Do not use for factories, seeders, migrations, controllers, models, or non-test PHP code. | ||||||
| - `tailwindcss-development` — Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex/grid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3/v4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML/CSS component, CSS file audits, build tool configuration, and vanilla CSS. | ||||||
|
|
||||||
|
|
@@ -139,6 +141,14 @@ This project has domain-specific skills available. You MUST activate the relevan | |||||
|
|
||||||
| - Laravel can be deployed using [Laravel Cloud](https://cloud.laravel.com/), which is the fastest way to deploy and scale production Laravel applications. | ||||||
|
|
||||||
| === livewire/core rules === | ||||||
|
|
||||||
| # Livewire | ||||||
|
|
||||||
| - Livewire allow to build dynamic, reactive interfaces in PHP without writing JavaScript. | ||||||
|
||||||
| - Livewire allow to build dynamic, reactive interfaces in PHP without writing JavaScript. | |
| - Livewire allows you to build dynamic, reactive interfaces in PHP without writing JavaScript. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <?php | ||
|
|
||
| namespace App\Livewire; | ||
|
|
||
| use Illuminate\Contracts\View\View; | ||
| use Livewire\Component; | ||
|
|
||
| class StatusPing extends Component | ||
| { | ||
| public function render(): View | ||
| { | ||
| return view('livewire.status-ping'); | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Grammar: "Livewire allow to build" should be "Livewire allows you to build" (or "Livewire allows building") for correct subject–verb agreement.