Hi Lucas,
Thanks for the update.
We have provided angular -cli sample which is based on the platform type you have specified in the forum.
We have created a simple sample by using gulp-sass compiler in asp core and try to reproduce the reported issue, but scss compilation of the ej2 package was successful without any failure. Please follow the below steps to include the gulp-sass compilation in the application.
- In addition to Syncfusion EJ2 packages, install gulp and gulp-sass packages using below commands.
Gulp Installation - npm install gulp —save
Glob Installation - npm install gulp-sass —save
- Open the Source Explorer and right click on the application name. Then, select “Add New Item” menu item to open the “Add New Item” window.
- Select “ASP.NET Core” on the left side Tree View and select “JavaScript File” in the “Add New Item” window. It will include a js file in the root folder of the ASP.NET Core web application. Rename the js file as “gulpfile.js”.
4 .Copy the following code snippet and paste it in gulpfile.js for automatically sass compiler process while building the web application
/// <binding BeforeBuild='sass'/>
var gulp = require("gulp"),
sass = require("gulp-sass");
// other content removed
gulp.task("sass", function () {
return gulp.src('Styles/default.scss')
.pipe(sass({includePaths :"node_modules/@syncfusion"}))
.pipe(gulp.dest('wwwroot/css'));
}); |
Please find the same in below sample link.
If the issue with scss compilation still persist ,please share additional details about the scss compiler you have used in the application which will be helpful for us to proceed further.
Regards,
Mydeen S N