Converts PascalCase to kebab-case: SearchResultList → search-result-list. Component names are PascalCase in code, but HTML-facing names are hyphenated: Vue components used in DOM templates, custom element tags, CSS class names in BEM, and file names in many style guides.
Paste component usages, class names or a list of exports to get the tag, file or class names on the markup side.
String.Result.<DatePicker />
<UserCard :user="user" />
<SearchResultList /><date-picker />
<user-card :user="user" />
<search-result-list />The component tags become hyphenated, which is the form Vue requires when templates are written directly in an HTML file. The :user="user" binding is lowercase and is not changed.
UserCard → user-card.<, /> and attributes alone.Step2Form → step2-form.HTML is case-insensitive, so <DatePicker> written inside an .html page must be <date-picker>. Converting the markup does that for every multi-word component at once.
Style guides that name files date-picker.tsx or use a .search-result-list block class can derive both from the component name.
XMLParser → xml-parser, UIButtonGroup → ui-button-group.Modal, Button) are not recognized and stay capitalized, so adjust them by hand.Angular selectors are kebab-case with a prefix, such as app-user-card for UserCardComponent. Convert the name and add the prefix yourself.
<Modal /> unchanged?Only names with at least two capitals are treated as PascalCase, so single-word components are skipped.