Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kotlin wasm #435

Open
vaclavbenes opened this issue Oct 15, 2023 · 1 comment
Open

Kotlin wasm #435

vaclavbenes opened this issue Oct 15, 2023 · 1 comment

Comments

@vaclavbenes
Copy link

Hi , is it possible to use kotlin wasm and it's libraries in a notebook. I'd like to render compose for web in notebook instead of existing kotlinx.html. Thank you.

@vaclavbenes
Copy link
Author

vaclavbenes commented Nov 7, 2023

I built a compose for the web and I got static resources.
It's not shown in a notebook. Maybe WASM is not enabled in an embedded browser.

HTML("""
<!DOCTYPE html>
<html lang="en">
<script type="application/javascript" src="compose-web/skiko.js"></script>
<body>
    <canvas id="ComposeTarget"></canvas>
    <script type="application/javascript" src="compose-web/compose.js"></script>
</body>
</html>
""")
Screenshot 2023-11-07 at 12 30 07

compose-web. zip
compose.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant