CrushCandy
3 years ago
1821
5
Mix

Webpack .init wow.js as a require ?

Posted 3 years ago by CrushCandy

Learning webpack with no where else to turn to, the script needs to run new Wow().init (); on the dom, I have used npm to pull the package and require ('wowjs') in the entry path, but I keep getting wow is undefined on the dom.

Anyone can enlighten me ?

Please sign in or create an account to participate in this conversation.