app/Http/Controllers/ProductoController.php
/**
     * Show the form for editing the specified resource.
     *
     * @param  \App\Models\Producto  $producto
     * @return \Illuminate\Http\Response
     */
Show the form for editing the specified resource.
Show the form for editing the specified resource .
public function edit(Producto $producto)
    {
        return Inertia::render('FormEditar', ['producto' => $producto]);
    }
public function edit ( Producto $ producto ) { return Inertia :: render ( 'FormEditar' , [ 'producto' => $ producto ] ) ; }
Show the form for editing the specified resource.
Show the form for editing the specified resource .