Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How us load script on page

shashanks526115
Level 2
Level 2

Hi,

     Someone please le me know how we can load script file before loading script of component level.

 I have embed my component level js (categories name in parent clientlibfolder where i have added my slick script by using embed ) but while loading the page it is loading the component level code not the parent level slick script.

 

 >  Inside the parent clientlib folder

categories                                      string                                   homepage

embed                                            string[]                                 homepage.homepagebanner

jcr:primaryType                              Name                                  cq:ClientLibraryFolder

 

  >  Component level clientlib folder

  categories                                      string                                   homepagebanner

  jcr:primaryType                              Name                                  cq:ClientLibraryFolder

 

 

0 Replies