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
ng add does not do anything, this is Material's issue. We just pass the flags to material itself.
We should provide helper functions to read and manage angular.json, but in the meantime everyone's responsible for managing it themselves. Material should support not having a project though.
Activity
clydin commentedon Apr 13, 2018
There are two projects by default: the app and e2e. Either an option or some heuristics would need to be added to define the default project.
cyrilletuzi commentedon Apr 13, 2018
Oh, OK. Thanks for the info. Closing then.
clydin commentedon Apr 13, 2018
I think it is an import usability concern though. So I'd like to keep it open for discussion.
hansl commentedon Apr 13, 2018
ng adddoes not do anything, this is Material's issue. We just pass the flags to material itself.We should provide helper functions to read and manage
angular.json, but in the meantime everyone's responsible for managing it themselves. Material should support not having a project though.hansl commentedon Apr 13, 2018
Material will fix this on their side; their issue for reference is angular/components#10833
cyrilletuzi commentedon Apr 13, 2018
For info, there is a similar problem with
ng g service-worker, but maybe it is by design.keatkeat87 commentedon May 6, 2018
ng add @angular/material --project=name
it work.
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.