Getting started with the TALL stack 😀
> composer create-project laravel/laravel project --prefer-dist
> cd project
> composer require livewire/livewire:^4.0@beta
> php artisan livewire:publish --config
config/livewire.php
'make_command' => [
'type' => 'sfc', // Options: 'sfc', 'mfc', 'class'
'emoji' => false, // Options: true, false
],
> php artisan livewire:layout
> php artisan make:livewire pages::users
routes/web.php
Route::livewire('/', 'pages::users');
> composer require soloterm/solo --dev
> php artisan solo:install
config/solo.php
'commands' => [
'PHP' => 'php artisan serve',
'JS' => 'npm run dev',
> npm i
> php artisan solo