How us load script on page

shashanks526115

12-10-2020

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

 

 

Accepted Solutions (0)

Answers (0)