This repository I created for me to learning how to implement livewire on any types of projects.
You can use composer or with laravel installer
Here the commands for laravel installer installation
Make sure you install the installer using composer
composer global require laravel/installer
Then create your project using the installer
laravel new <projectname>
Using composer
composer require livewire/livewire
That's the only thing we need to setup include livewire on our laravel project
Find the installation guide here : https://livewire.laravel.com/screencast/getting_started/installation
php artisan make:livewire <componen-name>
creating layout
php artisan livewire:layout
See documentation here https://github.com/joelbutcher/laravel-archivable
Install the package using these commands
composer require joelbutcher/laravel-archivable
Show Posts
Create new Post