In vue, you use wowjs+animate.css to report an error. what's going on?

I used an animation plug-in in vue, which was installed globally by npm, so I introduced

js


into main.js.

have you encountered a similar situation or know the solution? Thank you very much


change the reference to import {WOW} from 'wowjs'; try


very basic knowledge. It means you don't know anything about modularity and global variables.
the fundamental solution is to read more books and tell you that the answer can only solve this problem, but you still have no idea why it is written incorrectly, and you will still encounter all kinds of basic problems.
solution to this problem: look at the package.json file of wowjs, find the entry file corresponding to the "main" configuration, check the source code of the entry file, and see how it export, which determines how you introduce. End!


just write a scroll load yourself

Menu