Understanding Vue Props: Types, Validation, and Data Flow

Naming Conventions HTML attribute names are case-insansitive, so browsers interpret uppercase characters as lowercase. When using DOM templates, camelCase prop names must be converted to kebab-case equivalents: Vue.component('article-card', { props: ['articleTitle'], template: '<h3>{{ articleTitle }}</h3>' }) Usage in templates ...

Posted on Wed, 24 Jun 2026 18:08:00 +0000 by kid_c

Ant Design Vue: Common Patterns and Solutions

The Popover component's hide animation may behave incorrectly on the first instance if its content is not wrapped in a block-level element. Implementing hover effects can be achieved using CSS. /* Target element is initially hidden */ .target-element { visibility: hidden; } /* On parent hover, show the target */ .parent-container:hover .t ...

Posted on Fri, 15 May 2026 09:14:29 +0000 by MentalMonkey