Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

cannot use import statement outside a module

package.json
   {
        // ...
        "type": "module",
        // ...
    }
Source by itsjavascript.com #
 
PREVIOUS NEXT
Tagged: #import #statement #module
ADD COMMENT
Topic
Name
6+7 =