Highlighted

Regarding Project Related Client Libs

Avatar

Avatar

santhoshm429343

Avatar

santhoshm429343

santhoshm429343

17-02-2019

Hi All,

I have recently come to know that the client libs in AEM 6.4 have been moved out of etc/designs to /apps folder. I would like to know the location under which the project related CSS/JS can be stored or created as a clientlibs folder. Is it okay to retain them in the same location under /etc as earlier versions or should we have them under /apps folder going ahead? This would help us to solve the issue in our project structures going ahead and also to explore the same.

Regards,

Santhosh

Replies

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

18-02-2019

You may check 'We-retail' reference implementation that is available OOB in 6.4

Yes, you may retain clientlibs in /etc/<project_design>/clientlibs for the existing project till you migrate them to /app/<project>/clientlibs

When you plan to migrate, you would need to use proxy configurations  -  'allowProxy=true' on the clientlibs to replace /apps/<project> with /etc.clientlibs/<project>  and you'd need to allow 'clientlibs' as an extension in dispatcher.any.

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

999

Correct Answer

829

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

999

Correct Answer

829
Arun_Patidar
MVP

18-02-2019