move to volt sfc

This commit is contained in:
hackerESQ
2024-08-01 20:44:41 -05:00
parent f0b66051bf
commit 395fa95eb5
6 changed files with 298 additions and 50 deletions
@@ -1,5 +1,16 @@
<x-app-layout>
<livewire:portfolio.manage-portfolio-form submit="save" />
<?php
</x-app-layout>
use App\Models\Portfolio;
use Livewire\Attributes\{Title, Rule};
use Livewire\Volt\Component;
new class extends Component {
public bool $showDrawer2 = false;
public ?Portfolio $portfolio;
}; ?>
<div>
<livewire:portfolio.manage-portfolio-form submit="save" />
</div>