Installation

Livewire has both a PHP component AND a Javascript component. You need to make sure both are available in your project before you can use it.

Step 1: Include the PHP

composer require calebporzio/livewire

Step 2: Include the JavaScript

Add the following Blade directive before the closing body tag in your template.

...
    @livewireAssets
</body>
</html>