spin.js
spin.js copied to clipboard
Uncaught SyntaxError: Unexpected token 'export' (at spin.js:82:1)
I am getting this error immediately on import, which makes the library non-functional.
me too
You should add type="module"
when you're loading your script:
<script type="module" src="path/to/spin.js"></script>