Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Cannot use import statement outside a module (at module.js:1:1)


//make sure whether include type="module" in script tag
<script type="module" src="module.js"></script>
 
PREVIOUS NEXT
Tagged: #Cannot #import #statement #module
ADD COMMENT
Topic
Name
7+6 =