chilldsgn's avatar

chilldsgn wrote a comment+100 XP

4w ago

@NeoScripter I've been using Wezterm on Ubuntu and on my Macbook. It's great. It is available for Windows. Could try that instead of Kitty

chilldsgn's avatar

chilldsgn liked a comment+100 XP

4mos ago

@chilldsgn Awesome! I've been spending time with this part

chilldsgn's avatar

chilldsgn liked a comment+100 XP

5mos ago

Similar to previous lessons, if Ziggy isn't installed, you can replace:

patch(route('puppies.like', puppy.id), { preserveScroll: true });

with:

patch(like(puppy.id).url, { preserveScroll: true });

Note that you need the url property as patch requires a string as the first parameter.

chilldsgn's avatar

chilldsgn liked a comment+100 XP

5mos ago

For anyone who is having trouble with ziggy not being installed, you can take advantage of wayfinder https://inertiajs.com/links

It should look something like this

...
import { like } from "@/routes/puppies";

...
<Link
  method="patch"
  href={like(puppy.id)}
...