Import Export Modules Javascript
Hi,
im using some content and want to import show. In the message.js, the function show is exporting in the right way.
I always got an Error that "MyContent is not a constructor" if i try to use MyContent in other h5p contents.
I just get this error if im importing some stuff. Can someone explain me why? I know, or i saw in other contents on github, that other developer only using import statements in connection with npm.
It would be nice if someone can help me here.