This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Problem with template convention for PascalCase component #210
Open
Description
There's a problem with mapping component name to template url.
By default
function dashCase(str) {
return str.replace(/([A-Z])/g, function ($1) {
return '-' + $1.toLowerCase();
});
}
causes PascalCase
component to be mapped to ./components/-pascal-case/-pascal-case.html
template, which is not supposed to be the correct behaviour (even if camelCase is preferable naming convention).