Hi,
Am referring Infragistics theme in scss file but getting compile error
Error : Module build failed (saas-loader/dist/cjs.js), SAAS error cant find style sheet to import
i have tried below combinations
@use "@infragisitcs/igniteui-angular/theming" as *
@use " ~@infragistics/igniteui-angular/theming" as *
@use "node_modules/@infragistics/igniteui-angular/theming" as *
what is the issue here. using angular version 15
** for some reason am not able to copy/paste while creating this post
Hello Peru,
I am wondering if you had invoked the required SASS functions and mixins in your main style file, that are needed in order for the default global theme to be applied, for example:
@use 'igniteui-angular/theming' as *; $palette: $light-material-palette; $schema: $light-material-schema; @include core(); @include typography(); @include theme( $palette: $palette, $schema: $schema );
You can find more information about configuring the global theme in this topic of our documentation. As you will read there, the core, typography and theme mixins are required.
Additionally, the following classes should be added to the body element in the index.html:
<body class="ig-typography ig-scrollbar">
As mentioned in my previous reply as well, this configuration can be viewed in any of the samples in our documentation.
Please, follow this suggestion and if you require any further assistance on the matter, please, let me know.
Last but not least, since you mentioned creating an app from scratch, in general, we recommend adding the Ignite UI for Angular library as well as adding Ignite UI for Angular components by leveraging the Ignite UI for Angular Schematics. They come with the added benefit of automatically configuring the above theming-related setup and others. More details about the schematics can be found here.
Adding the library in this way can be achieved with the 'ng add' command: ng add igniteui-angular.
Best regards, Bozhidara Pachilova Associate Software Developer
i have updated angular and infragistics to 16.x also and tried still same issue persists. compiling is fine but display same issue as shown in previous images
any update on this issue ?
here is my code
HTML
<igx-grid [data]="data" [autoGenerate]="true"> </igx-grid>