Rechercher

PythonReactSEOPDF
GitHub Skill

inertia

Generates Inertia.js configurations and scripts for building single-page applications. Run local commands to debug and deploy.

Mentor-Wizard☆ 1 Étoiles du dépôt1 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

Instructions

Inertia Core

  • Inertia.js components should be placed in the resources/js/Pages directory unless specified differently in the JS bundler (vite.config.js).
  • Use Inertia::render() for server-side routing instead of traditional Blade views.
  • Use search-docs for accurate guidance on all things Inertia.

Inertia v2

  • Make use of all Inertia features from v1 & v2. Check the documentation before making any changes to ensure we are taking the correct approach.
Inertia v2 New Features
  • Polling
  • Prefetching
  • Deferred props
  • Infinite scrolling using merging props and WhenVisible
  • Lazy loading data on scroll
Deferred Props & Empty States
  • When using deferred props on the frontend, you should add a nice empty state with pulsing / animated skeleton.
Inertia Form General Guidance
  • Build forms using the useForm helper. Use the code examples and search-docs tool with a query of useForm helper for guidance.

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-01-20
Mise à jour de l’index
2026-01-26
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!