I am trying to import afterglow in my project with:
import afterglow from './afterglow.min.js'
But when I compile the project, it´s broken and the console sais: afterglow.min.js:19 Uncaught TypeError: Cannot set property 'vttjs' of undefined.
I have the afterglow.min.js archive in the correct folder but something is wrong and I don-t no why...
Can anyone help me?
Thanks!