Crate kit_macros

Crate kit_macros 

Source
Expand description

Procedural macros for the Kit framework

This crate provides compile-time validated macros for:

  • Inertia.js responses with component validation
  • Named route redirects with route validation

Macros§

inertia_response
Create an Inertia response with compile-time component validation
redirect
Create a redirect to a named route with compile-time validation

Derive Macros§

InertiaProps
Derive macro for generating Serialize implementation for Inertia props