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:
24
.claude/skills/nuxt-ui/components/button.md
Normal file
24
.claude/skills/nuxt-ui/components/button.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Button
|
||||
|
||||
A button element that can act as a link or trigger an action.
|
||||
|
||||
## Key Props
|
||||
|
||||
- `label`: to set the label of the Button.
|
||||
- `color`: to change the color of the Button.
|
||||
- `variant`: to change the variant of the Button.
|
||||
- `size`: to change the size of the Button.
|
||||
- `icon`: to show an [Icon](/docs/components/icon) inside the Button.
|
||||
- `avatar`: to show an [Avatar](/docs/components/avatar) inside the Button.
|
||||
- `loading`: to show a loading icon and disable the Button.
|
||||
- `disabled`: to disable the Button.
|
||||
- `class`: to override the base styles of the Button.
|
||||
- `ui`: to override the slots styles of the Button.
|
||||
|
||||
## Usage
|
||||
|
||||
```vue
|
||||
<UButton
|
||||
<!-- props here -->
|
||||
/>
|
||||
```
|
||||
Reference in New Issue
Block a user