hi working on a kotlin JS hello world but don’t ge...
# javascript
s
hi working on a kotlin JS hello world but don’t get anything print out in js console
i
@Samuel Michael You should add script tag with kotlin to your html file
Copy code
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Console Output</title>
    </head>
    <body>
        <script type="text/javascript" src="out/production/ConsoleOutput/lib/kotlin.js"></script>
        <script type="text/javascript" src="out/production/ConsoleOutput/ConsoleOutput.js"></script>
    </body>
</html>
or if you use gradle you can try
gradle run
s
hmmm yes i am using that link u sent and i am injecting script tags into the html and still dont see any output in the console
Untitled
and I’ve been trying to find a working example to hack on but can’t figure that out either
i wish the intellij starter project was already fully set up
didn’t require so much tinkering