inertia-vue-development

Builds Inertia.js v3 Vue pages, forms, and client-side navigation components.

Updated Aug 25, 2026
One-click install
npx skills add https://github.com/mr-creative-hmh/creative-tasks --skill inertia-vue-development-mr-creative-hmh
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: inertia-vue-development
Source: https://github.com/mr-creative-hmh/creative-tasks/tree/main/.agents/skills/inertia-vue-development
Command: npx skills add https://github.com/mr-creative-hmh/creative-tasks --skill inertia-vue-development-mr-creative-hmh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building Vue single-page applications with Inertia.js requires knowing the correct v3 APIs for pages, forms, navigation, and data loading; this Skill provides the exact patterns so you avoid broken SPA behavior and deprecated methods. ## Core Features & Use Cases - Page & Navigation Patterns: Create Vue page components in resources/js/Pages and implement client-side navigation with <Link>, router.visit, prefetching, and instant visits. - Form Handling: Build forms with the <Form> component or useForm composable, including validation errors, progress indicators, and reset-on-success behavior. - Inertia v3 Features: Apply deferred props, optimistic updates, useHttp requests, polling, WhenVisible lazy loading, InfiniteScroll, and layout props. - Use Case: When adding a user creation form to a Laravel + Vue Inertia app, use this Skill to generate a <Form> component with error display, processing state, and automatic reset on success. ## Quick Start Create an Inertia Vue page component with a form that posts to /users and displays validation errors.

Frequently Asked Questions about inertia-vue-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a form in Inertia Vue 3?▼

Use the <Form> component from @inertiajs/vue3 with action and method attributes, accessing errors and processing state via the default slot. For programmatic control, use the useForm composable with form.post() and v-model bindings.

How do I navigate between pages in Inertia Vue?▼

Use the <Link> component instead of <a> tags for client-side navigation, supporting method, prefetch, and as props. For programmatic navigation, call router.visit() with optional method, data, and onSuccess callbacks.

What is the difference between useForm and useHttp in Inertia v3?▼

useForm triggers Inertia page visits tied to the page lifecycle, while useHttp makes standalone JSON requests to plain API endpoints without triggering page visits. Both share the same developer experience with processing and error states.

How do deferred props work in Inertia Vue?▼

Deferred props load after the initial page render, so components must handle the undefined state with skeleton screens or conditional rendering. Data arrives automatically via a follow-up request once the page is displayed.

Why did router.cancel stop working after upgrading to Inertia v3?▼

Inertia v3 renamed router.cancel() to router.cancelAll() as a breaking change. The invalid and exception events were also renamed to httpException and networkError respectively.

How do I implement infinite scrolling with Inertia Vue?▼

Use the <InfiniteScroll> component with a data prop pointing to paginated data, rendering items from users.data. The server must configure pagination using Inertia::scroll() for the component to load additional pages.