* Check if string is PascalCase
(str: string)
| 334 | * Check if string is PascalCase |
| 335 | */ |
| 336 | function isPascalCase(str: string): boolean { |
| 337 | return /^[A-Z][a-zA-Z0-9]*$/.test(str); |
| 338 | } |
| 339 | |
| 340 | /** |
| 341 | * Resolve a Vue component reference to its .vue file |