inertia-vue-development

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

Updated Aug 29, 2026
One-click install
npx skills add https://github.com/F41541/koperasi-app --skill inertia-vue-development-f41541
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: inertia-vue-development
Source: https://github.com/F41541/koperasi-app/tree/main/.agents/skills/inertia-vue-development
Command: npx skills add https://github.com/F41541/koperasi-app --skill inertia-vue-development-f41541

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building Vue frontends for Inertia.js applications requires knowing the correct v3 APIs for pages, forms, navigation, and data loading; this Skill provides the correct patterns so you avoid broken SPA behavior and outdated v2 syntax. ## Core Features & Use Cases - Page Components & Navigation: Create Vue page components in resources/js/Pages and implement client-side navigation with <Link>, router.visit, and prefetching. - Form Handling: Build forms with the <Form> component or useForm composable, including validation errors, progress indicators, and reset behavior. - Inertia v3 Features: Implement deferred props, optimistic updates, instant visits, layout props, polling, WhenVisible, InfiniteScroll, and standalone HTTP requests via useHttp. - Use Case: When adding a user creation form to a Laravel + Vue app, use this Skill to generate a <Form> component with error display, processing state, and reset-on-success behavior. ## 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?▼

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 v-model bindings and call `form.post()`.

How do I navigate between pages in Inertia Vue?▼

Use the `<Link>` component instead of `<a>` tags for client-side navigation, or call `router.visit()` programmatically with method and data options. Add the `prefetch` attribute to preload pages on hover.

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

useForm submits data as Inertia visits that trigger page updates, while useHttp makes standalone JSON requests to plain API endpoints without triggering Inertia page visits. Both share the same developer experience with processing and error states.

Does Inertia Vue support deferred props and lazy loading?▼

Yes, deferred props load after the initial page render and are undefined until loaded, so render skeleton states. The WhenVisible component lazy-loads a prop when an element scrolls into view, and InfiniteScroll loads paginated data automatically.

Why is my Inertia Vue form submitting as a full page reload?▼

This happens when using a plain `<form>` element without preventing the default submission. Use the `<Form>` component or add `@submit.prevent` with the useForm composable to keep submissions as XHR requests.

What breaking changes exist in Inertia v3 for Vue router events?▼

In v3, `router.cancel()` is replaced by `router.cancelAll()`, and the `invalid` and `exception` router events are renamed to `httpException` and `networkError`. Update event listeners accordingly when migrating.