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:
22
.claude/skills/nuxt-ui/components/page-anchors.md
Normal file
22
.claude/skills/nuxt-ui/components/page-anchors.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# PageAnchors
|
||||
|
||||
A list of anchors to be displayed in the page.
|
||||
|
||||
## Key Props
|
||||
|
||||
- `links`: as an array of objects with the following properties:
|
||||
|
||||
- `label: string`{lang="ts-type"}
|
||||
- `icon?: string`{lang="ts-type"}
|
||||
- `class?: any`{lang="ts-type"}
|
||||
- `ui?: { item?: ClassNameValue, link?: ClassNameValue, linkLabel?: ClassNameValue, linkLabelExternalIcon?: ClassNameValue, linkLeading?: ClassNameValue, linkLeadingIcon?: ClassNameValue }`{lang="ts-type"}
|
||||
|
||||
You can pass any property from the [Link](/docs/components/link#props) component such as `to`, `target`, etc.
|
||||
|
||||
## Usage
|
||||
|
||||
```vue
|
||||
<UPageAnchors
|
||||
<!-- props here -->
|
||||
/>
|
||||
```
|
||||
Reference in New Issue
Block a user