use of clientlibs | Community
Skip to main content
Level 2
October 16, 2015
Solved

use of clientlibs

  • October 16, 2015
  • 3 replies
  • 992 views

Can anyone give an efficient approach for inheritance in clientlibs?

Scenario is one clientlibs are having global level css and js , another can extend the global clientlibs and override the existing one and can add new CSS and JS based on the requirement.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

edubey
Level 10
October 16, 2015

Hi, 

You can define all you global CSS in a client lib [A] and you can use this as a dependencies for all other css files defined in clientlib [B]. If you want to override css classes defined in global [A] to your [B] you can do it..

These post talks about it:

Lokesh_Shivalingaiah
Level 10
October 16, 2015

for your use case, you can embed the global clientlib category and override the required classes and js in your clientlibs

ogillAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015