Expand my Community achievements bar.

SOLVED

How do I compile scss files in version 6.4 without scaffolding

Avatar

Level 2

HI All,

Is there any way to compile SCSS files when the project is using AEM 6.4, but there is no npm or other scaffolding?

Are there any plugins for Maven that can solve this problem?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@yan_yan Please refer to the below URL for your query. This URL support for the Sass CSS pre-processor in Adobe Experience Manager 6.1 or above.

https://github.com/mickleroy/aem-sass-compiler

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

@yan_yan Please refer to the below URL for your query. This URL support for the Sass CSS pre-processor in Adobe Experience Manager 6.1 or above.

https://github.com/mickleroy/aem-sass-compiler

Avatar

Employee Advisor

Hi,

 

Yes, it's possible to compile SCSS files in an AEM 6.4 project without using npm or other scaffolding tools. One way to achieve this is by using a Maven plugin such as the frontend-maven-plugin.

 

The frontend-maven-plugin allows you to execute frontend build tasks such as compiling SCSS files as part of your Maven build process. To use the plugin, you'll need to configure it in your project's pom.xml file and specify the build tasks you want to run.

 

Regards,

Manvi Sharma