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

Add examples #3

Open
LordMZTE opened this issue Sep 12, 2021 · 0 comments
Open

Add examples #3

LordMZTE opened this issue Sep 12, 2021 · 0 comments

Comments

@LordMZTE
Copy link

LordMZTE commented Sep 12, 2021

Some examples would be great to figure out how to use this. These are some exmples which I think would be great, as they're not something usually done in neon:

  • basic example of loading and running a JS file
  • calling functions declared in JS files from rust
  • loading a JS file as module (allowing import in the JS file)
  • working with modules
    • importing modules
    • accessing module exports

The module examples would be particularly useful for me, as I wasn't able to figure those out yet.
I could contribute some examples (not all on the list however, as I've got no clue on how to work with modules)

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