Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Using RequireJS in AEM 5.6

Avatar

Level 1

I'm looking for any info on how to use RequireJS in 5.6 without conflicting with AEMs built-in css/js management.

The issue with the built-in tools is they don't provide dependency management on the file level. Managing this via css/js.txt files is not sufficient for large and complex projects.

Any insight on this would be appreciated.

1 Accepted Solution

Avatar

Correct answer by
Level 10
Here is a community sample that may help with this JS framework:   https://github.com/Evster88/CQ5-RequireJS

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10
Here is a community sample that may help with this JS framework:   https://github.com/Evster88/CQ5-RequireJS

Avatar

Level 7

smacdonald2008 wrote...

Here is a community sample that may help with this JS framework: https://github.com/Evster88/CQ5-RequireJS

 

This page is not available anymore. I am trying to use requireJS in AEM.

have gone through the below two URLs, please let me know if there is any more material or some other link I can refer.

https://github.com/yaycmyk/CQ5-RequireJS
http://stackoverflow.com/questions/21222235/using-require-js-for-client-side-dependancies-in-adobe-c...
http://labs.6dglobal.com/blog/2015-05-08/requirejs-kiss/