-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support for selecting Module when generating Component/Directive etc. #34
Comments
I just tested how this works and it seems like you must specify the path to the module file. This allowes you to create a file in any directory and instead of declaring it in the nearest module, you can declare it in any module. I have tested following cases:
@angelozerr I guess this feature won't be needed verry often, as you usually want declarations to go into the nearest |
To be honnest with you, I don't know @NgModule, so I trust you! Any PR are welcome, thanks! |
Since Angular-CLI beta 25, the "generate" command lets you specify a module (see angular/angular-cli#3811)
The generate Wizards could support this to (using a Combobox with available modules?).
The nearest module could be selected by default.
The text was updated successfully, but these errors were encountered: