--- name: inertia-svelte-development description: >- Develops Inertia.js v1 Svelte client-side applications. Activates when creating Svelte pages, forms, or navigation; using Link or router; or when user mentions Svelte with Inertia, Svelte pages, Svelte forms, or Svelte navigation. --- @php /** @var \Laravel\Boost\Install\GuidelineAssist $assist */ @endphp # Inertia Svelte Development ## When to Apply Activate this skill when: - Creating or modifying Svelte page components for Inertia - Working with forms in Svelte (using `router.post`) - Implementing client-side navigation with `` or `router` - Building Svelte-specific features with the Inertia protocol ## Documentation Use `search-docs` for detailed Inertia v1 Svelte patterns and documentation. ## Basic Usage ### Page Components Location Svelte page components should be placed in the `resources/js/Pages` directory. ### Page Component Structure @boostsnippet("Basic Svelte Page Component", "svelte")