I need help pretty URGENTLY with this.
Would it be possible for someone to outline the steps required to get wow.js and Animate.css to work correctly and create on-scroll animations in a ZURB Template Project?
What I did was:
1. npm install wowjs --save - wow.js installed successfully. A dependency was added to the package.json file and a wowjs folder was added to the node_modules folder. Animate.css also installed successfully. An animate.css folder was added to the node_modules folder, however, a dependency was not added to the package.json (I don't know if this is an issue or not);
2. I added a class of "wow fadeInUp" to the HTML element I wanted to animate; and
3. I added "new WOW.init();" to app.js.
Nothing happened, and no errors were thrown.
I then added "import WOW from 'wowjs';" to app.js but got the following error, which caused nothing to display on the screen:
I then Googled the issue and was told to add "require('imports?this=>window!js/wow.js');" to app.js, which then gave me this error:
I then assumed that changing "js/wow.js" to "node_modules/wowjs" (I also tried "node_modules/wowjs/dist/wow.js") would resolve the error, but I got the same again.
At this point, I don't know what else to try.
Any help on where I'm going wrong would be greatly appreciated.