-1

I can't seem to find the option to disable the selector during component generation.

For routed components it's no longer required to add a selector (since angular 4.4) angular-cli however always adds the selector.

Since we do not want routed components to be used in the middle of other components. We'd rather not even have a selector.

Does anyone know (without creating custom schematics) how to disable/remove the selector tag during cli component generation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.