Initial commit
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
|
||||
use App\Models\Categoria;
|
||||
use Livewire\Component;
|
||||
|
||||
class ShowIndexCategoria extends Component
|
||||
{
|
||||
public $verPro=false;
|
||||
public $categorian;
|
||||
public $imagen;
|
||||
|
||||
|
||||
public function render()
|
||||
{
|
||||
$consulta_categoria = Categoria::get();
|
||||
return view('livewire.show-index-categoria',[
|
||||
'categorias' => $consulta_categoria
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user