PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

remove a livewire component

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.

BETA Snippet explanation automatically generated by OpenAI:

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

Snippet By Tony Lea

ยท

Created June 18th, 2021

ยท

Report Snippet