Vishal Ludhrani
Vishal Ludhrani
I see many of us are getting confused by `HSStaticMethods`. It's just a way of saying that you need to import HS (eg.: HSAccordion) and call `autoInit` on its instance....
> @VishalLudhrani So do I need to add HSDropdown instance if I want to ad the dropdown components? I'm still not getting them to work. Yup. That is how it...
@insivika `HSStaticMethods` could be a placeholder (just a way to say your plugin would go here). You would need to replace it with all the plugins you're using in your...
Here's my `PrelineLoader.jsx` from a (Next.js) project: ```jsx "use client"; import HSAccordion from "@preline/accordion"; import { usePathname } from "next/navigation"; import { HSDropdown } from "preline/preline"; import { useEffect }...