Add nuxt-skills and update auto quotes to use new policy API structure
- Add nuxt-skills (vue, nuxt, nuxt-ui) to .claude/skills/ - Create useCustomerSelection() composable for managing insured/buyer selection - Create usePolicyApi() composable for policy API operations - Update auto quote components to use insured/buyer instead of client - Update vehicle fields: remove valorVehiculo, add market_value, requested_value, rc_limits - Make chassis_number and engine_number optional - Update auto quote types and composables to match new API structure - Update auto quote page to submit to policy API with new structure
This commit is contained in:
20
.claude/skills/nuxt-ui/components/form-field.md
Normal file
20
.claude/skills/nuxt-ui/components/form-field.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# FormField
|
||||
|
||||
A wrapper for form elements that provides validation and error handling.
|
||||
|
||||
## Key Props
|
||||
|
||||
- `label`: to set the label for the form control.
|
||||
- `description`: to provide additional information below the label.
|
||||
- `hint`: to display a hint message next to the label.
|
||||
- `help`: to display a help message below the form control.
|
||||
- `error`: to display an error message below the form control.
|
||||
- `size`: to change the size of the FormField, the `size` is proxied to the form control.
|
||||
|
||||
## Usage
|
||||
|
||||
```vue
|
||||
<UFormField
|
||||
<!-- props here -->
|
||||
/>
|
||||
```
|
||||
Reference in New Issue
Block a user