-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(schematics): allow 'prefix' when creating a lib #193
Comments
When I create a lib and then create component with
but when i run
I tried editing It would be nice if |
The trick to making this work is to add the prefix to the generated apps section in .angular-cli.json and also adding the prefix to two tslint rules in tslint.json that have the list of allowed prefixes. Hopefully I can find the time to create a PR to add these steps to the nx schematics |
It has been implemented in Nx 6. Pass |
we can disabled prefix at angular.json |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
It would be nice if
--prefix
would be supported when generating a new library withng generate lib hello --prefix hello
. Currently we have instructions to add theprefix
manually in the apps section of the .angular-cli.json. This allows us to have unique prefixes for all libraries.The text was updated successfully, but these errors were encountered: