@php /** @var \Laravel\Boost\Install\GuidelineAssist $assist */ @endphp ## Inertia + Svelte Forms - There are critical differences between Svelte 4 and 5, use the `search-docs` tool for up-to-date guidance. @if($assist->inertia()->hasFormComponent()) @boostsnippet("`
@endboostsnippet @endif @if($assist->inertia()->hasFormComponent() === false) {{-- Inertia 2.0.x, not 2.1.0 or higher. So they still need to use 'useForm' --}} @boostsnippet("Inertia Svelte useForm Example", "svelte") @endboostsnippet @endif