Create websites with TailwindCSS
Start building the next great SAAS
Alpine & Tailwind UI Library
Plug'n Play Authentication for Laravel
Create website designs with AI
Blog platform for developers
Build a simple static website
21-day program to build a SAAS
php artisan livewire:delete foo
# Removes Foo.php & foo.blade.php
php artisan livewire:delete foo --force
# Removes without confirmation prompt
In order to remove a livewire component you can use the php artisan livewire:delete
command. You can see an example of how to use the command in this code snippet.
Here is what the above code is doing:
1. Deletes a livewire comonent called `foo`
2. Passing the --force flag will force the component to be deleted