mirror of
https://github.com/cole-maxwell1/dotfiles.git
synced 2026-10-28 00:42:49 -05:00
- add conventions for Bash, C#, Go, Python, and TypeScript - add frontend guidance for HTMX, PrimeVue, and Vue - document formatting, typing, testing, async, and framework-specific practices - reference official documentation for framework API details
20 lines
919 B
Markdown
20 lines
919 B
Markdown
---
|
|
name: primevue
|
|
description: PrimeVue v4 component patterns and Tailwind integration. Use when writing or styling PrimeVue components.
|
|
---
|
|
|
|
# PrimeVue v4 Conventions
|
|
|
|
Assume PrimeVue v4 is installed when answering Vue questions. Use the Composition API with `<script setup>`.
|
|
|
|
## Usage
|
|
- Register components via the PrimeVue plugin or import per component.
|
|
- Prefer official presets and theming over hand-rolled overrides.
|
|
|
|
## Tailwind integration
|
|
- TailwindCSS is available; when needed, apply utility classes through the component passthrough (`pt`) or the unstyled/preset mechanism rather than overriding internal DOM.
|
|
- Keep utility usage consistent with the project's styling layer.
|
|
|
|
## API detail
|
|
- For component props, events, slots, and passthrough (`pt`) keys, fetch the PrimeVue LLM docs index on demand: `https://v4.primevue.org/llms/llms.txt`. Follow the relevant component link for the exact signature.
|