Lumos Component Problem


Here is my public share link: LINK
I am facing an awkward issue. I imported Lumos into my old project, now some components like modal, accordion are not working fine if I remove gsap from that particular page, for example in the home page there is gsap( I dont want it, but have to add gsap for other components to work) and all components are working nice, but in the /rough page(Draft) there is a replica of my home page structure, but the components are not working there as there is no GSAP on that page. STARANGE

Lumos components reference GSAP internally, so they break on any page where GSAP isn’t loaded. Just add the GSAP script site, wide or move the Lumos init script to the global footer.

1 Like