Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
8920
adding component to the existing project created not with igniteui-cli
posted

Trying to add grid to existing project not created with ignite-cli and getting the message: 

C:\_ng\new_ig1\ngAppIni>ig add
Add command is supported only on existing project created with igniteui-cli

Is any way to set up project so ig add will start working.  If not, what would be general methodology adding component to the non ignite-cli project ( please provide the link to doc) 

Thanks.

Parents
  • 1560
    Verified Answer
    Offline posted

    Hello,


    To create an application and configure it to use the Ignite UI for Angular components you can use either the Ignite UI for Angular Schematics or the Ignite UI CLI. In case the application is not configured using the Ignite UI CLI it is expected to receive such an error. A topic that you might consider helpful could be found here and as it is pointed out there the 'ig add' command can be used if the application was created by using the Ignite UI CLI or if it was created by using the Angular CLI with Ignite UI for Angular added to it by using the ng add igniteui-angular command.


    Let me know if I may be of any further assistance.


    Sincerely,
    Teodosia Hristodorova
    Associate Software Developer

Reply Children