Angular-cli component generator generate additional files -


is there way override default behavior of

ng generate component  

command? in addition files command creates default, wanting have generate nested folder , several files within folder inside component created.

additional files generated using additional commands. can find reference on https://github.com/angular/angular-cli

you can find possible blueprints in table below:

+-----------+---------------------------------+ | scaffold  | usage                           | +-----------+---------------------------------+ | component | ng g component my-new-component | +-----------+---------------------------------+ | directive | ng g directive my-new-directive | +-----------+---------------------------------+ | pipe      | ng g pipe my-new-pipe           | +-----------+---------------------------------+ | service   | ng g service my-new-service     | +-----------+---------------------------------+ | class     | ng g class my-new-class         | +-----------+---------------------------------+ | interface | ng g interface my-new-interface | +-----------+---------------------------------+ | enum      | ng g enum my-new-enum           | +-----------+---------------------------------+ | module    | ng g module my-module           | +-----------+---------------------------------+ 

Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -