Create component in Nativescript Angular

38 Views Asked by At

How to create a component in Nativescript with Angular, using the console to get the files:

  • component.component.ts

  • component.component.html _ component.module.ts

  • component-routing.module.ts

enter image description here

and tried like this:

  • ng g component my-name
  • ns g component my-name

but I get errors enter image description here

How should I do it, is there any way? I'm new to nativescript, please guide me :(

0

There are 0 best solutions below