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
120
Using igTree from igniteui-angular-wrapper together with igniteui for Angular: is it possible ?
posted

I have setup an Angular 10 application together with .Net Core functionality (via "dotnet new angular" command)

Then I installed the igniteui for Angular package of which I use several components successfully.

As there is no igtree component in this package, I was wondering if I could integrate the igniteui-angular-wrappers package in my application.

Is it possible ? And what are the steps ?

Parents
No Data
Reply
  • 1080
    Verified Answer
    Offline posted

    Hello,

    Thank you for posting in our community.

    I have created and attached a sample project demonstrating how to integrate igniteui-angular-wrappers in an Angular project with ASP.NET Core. The steps I took were the following:

    1. Run dotnet new angular -o my-new-app
    2. Navigate to ClientApp folder of the project
    3. Run ng update --force @angular/cli@10
    4. Remove the following line in the main.ts file because of this issue: export { renderModule, renderModuleFactory } from '@angular/platform-server';
    5. Run ng add igniteui-angular
    6. Run npm i igniteui-angular-wrappers@10.0.0
    7. Change the start command in the package.json file because of this issue to: "start": "echo Starting... && ng serve"
    8. Add Ignite UI for jQuery dependencies in the index.html file
    9. Import IgniteUIModule from igniteui-angular-wrappers package in the app.module.ts file

    The steps listed above should allow you to successfully run a project.

    Please let me know if you need any further assistance with this matter.

    4760.Sample.zip

Children