Uploading content

This commit is contained in:
David
2025-03-12 00:41:31 -04:00
parent b192e57eb5
commit f70ef52f9e
108 changed files with 13255 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace App\Livewire\Test;
use Livewire\Component;
class ChildComponent extends Component
{
public $id = 0;
public function mount($id)
{
$this->id = $id;
}
public function render()
{
return view('livewire.test.child-component');
}
public function doSome()
{
$this->dispatch('did');
}
}

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Livewire\Test;
use Livewire\Component;
class ParentComponent extends Component
{
public int $count = 0;
public function render()
{
return view('livewire.test.parent-component')
->extends('components.layouts.app')
->section('content');
}
public function counting()
{
$this->count++;
}
}