Open bamalt opened 10 months ago
Hello!
I'm trying to import a module as specified here but I get an error:
Uncaught SyntaxError: Cannot use import statement outside a module
in this line:
import { H5P } from 'h5p-standalone'; // ES6
I've already tried everything and nothing helps.
Help me please.
You may not have tried "everything". Have you familiarized yourself with how import works? Simply pasting the error message that you received into Google should also suffice ;-)
import
Hello!
I'm trying to import a module as specified here but I get an error:
in this line:
I've already tried everything and nothing helps.
Help me please.