-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Not possible to create library called anything-routing
#11961
Comments
Note: at the moment anything which is |
This needs to be discussed further due to style guides. If we should allow non routing modules to be named with //cc @IgorMinar & @robwormald |
At this location, where we report the error:
we should make it clear that we don't add to the routing module, and -routing.module.ts is special, so don't do that.
|
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. |
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Node: v8.11.3
npm: 6.1.0
ng: 6.1.4
Mac HighSierra
Repro steps
ng g lib anything-routing
The log given by the failure
Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
Desired functionality
If you treat libraries as Feature Modules and follow Angular guidelines you should be able to create library called
feature-routing
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: