Type Alias: VariantConfigs
VariantConfigs =
Record<string,Partial<FormField>>
Defined in: packages/vite/src/types.ts:30
Variant overrides keyed by the ?z2f=<name> query value.
Per-variant settings merge on top of the global CodegenConfig.
Use When
- You need different generated form styles for the same schema (e.g.
?z2f=mobilevs?z2f=desktop) - You want variant-specific UI presets or component overrides without separate schema files
Avoid When
- You only have a single form variant — omit this field entirely and use the global config