# Installation

# Via Composer

composer require livewire/livewire

Include the JavaScript (on every page that will be using Livewire).

...
    @livewireStyles
</head>
<body>
    ...
 
    @livewireScripts
</body>
</html>

# Create Component

php artisan make:livewire counter

# Include Component

<head>
    ...
    @livewireStyles
</head>
<body>
    <livewire:counter /> 
 
    ...
 
    @livewireScripts
</body>
</html>
Last Updated: 1/14/2022, 19:01:11