Closed nmingotti closed 2 years ago
Solved, put this in the HTML file
<script type="module" src="SqueakJS/squeak.js"></script>
Ah, yes. Alternatively, you can use the pre-built all-in-one file at https://github.com/codefrau/SqueakJS/tree/main/dist which does not require the module syntax.
Hi,
I tried to run in my local server and I get this error in the browser:
Uncaught SyntaxError: import declarations may only appear at top level of a module squeak.js:29
bye n.