-
Notifications
You must be signed in to change notification settings - Fork 12k
Default project for ng add #10327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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. |
Oh, OK. Thanks for the info. Closing then. |
I think it is an import usability concern though. So I'd like to keep it open for discussion. |
We should provide helper functions to read and manage |
Material will fix this on their side; their issue for reference is angular/components#10833 |
For info, there is a similar problem with |
ng add @angular/material --project=name |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
npm i @angular/cli@next -g
ng new helloworld
npm install @angular/{material,cdk}@next
ng add @angular/material
Observed behavior
Desired behavior
Should install in the default project when there is just one.
The text was updated successfully, but these errors were encountered: