I want to implement image hover effect like on this website https://miew.pt/ , and the closest example I got or came across can be found here https://github.com/akella/webgl-mouseover-effects
I have downloaded and extracted the files but when I run/open eg step3.html, I am getting errors.
I have run yarn add but still getting same error as in point 1.
The error in point 1 & 2 is "Uncaught SyntaxError: Cannot use import statement outside a module"
What's the correct way to set up the code locally(Win 10)?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.