We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Script Type Module

Home Forums General Questions Script Type Module

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #39956
    avaze
    Customer

    When we create a verge3D app, boilerplate HTML and .js files are created. To make the myapp.js file of type module, we need to go into the HTML file and add type = “module” in the <script> tag. Is there any way to create an app, so that it is of type “module” by default?

    #39960

    Hi,

    We may implement this in future, but for now we believe that Verge3D must support IE and old Apple devices.

    https://caniuse.com/es6-module

    Chief 3D Verger | LinkedIn | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.