![]() ![]() call ng g component new-module/new-component.ng g module new-module to create a new module.If you need to add this references to another custom module, follow these steps: You can find all possible blueprints in the table below: ScaffoldĪngular-cli will add reference to components, directives and pipes automatically in the. # and your component will be generated in src/app/feature/new-cmp # your component will be generated in src/app/newer-cmp # if in the directory src/app you can also run # your component will be generated in src/app/feature/new-cmp # but if you were to run Ng g component my-new-component # using the alias # components support relative path generation # if in the directory src/app/feature/ and you run ![]()
0 Comments
Leave a Reply. |