You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ng generate errors out when no app prefeix is set #10659
ng new someproject
cd someproject
// edit angular.json
ng g component demo
The edit in angular.json is setting the prefix to ""
Observed behavior
Desired behavior
No error. It is perfectly legal to not have a prefix. (might be unwise, but still). The thing should check if there will be a - in there, as the standards demand that for custom elements.
Activity
fix(@schematics/angular): Allow prefix to be an empty string
fix(@schematics/angular): Allow prefix to be an empty string
fix(@schematics/angular): Allow prefix to be an empty string
fix(@schematics/angular): Allow prefix to be an empty string
angular-automatic-lock-bot commentedon Sep 8, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.