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

Provide e2e browser sdk example #12

Open
stagas opened this issue Mar 10, 2021 · 1 comment
Open

Provide e2e browser sdk example #12

stagas opened this issue Mar 10, 2021 · 1 comment

Comments

@stagas
Copy link

stagas commented Mar 10, 2021

It is not obvious how to use @assemblyscript/loader with the browser sdk example, I had to download the loader separately but I see there are some instantiate bits in the dist sources but they're not exported or I can't figure out how to do it.

It would be helpful if we had a full(but simple) e2e example where the compiled binary gets instantiated and used using the loader and maybe also show some passing data back and forth to give the user a head start.

@munrocket
Copy link

munrocket commented Jan 28, 2022

Loader documentation is bad. Better to this one https://jtanaka.gitbook.io/guide/getting-started/using-the-loader
Also I recommend to check as-bind, later you can use loader if as-bind will be limited for you.

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

2 participants