-
Notifications
You must be signed in to change notification settings - Fork 404
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
wasm.greet is not a function #1140
Comments
I was able to resolve this issue with the following:
init().then((_exports) => { 3: modify vite.config.ts to serve the wasm file. |
Why is initialisation necessary? On the rustwasm.github.io hello-wasm tutorial it is not used... |
I asked for the pull request. |
I have the same question. Why should we do init()? Why doesn't the example code hello-world? |
is there any update on this? |
Still have this issue. Any ideas or updates ? |
🐛 Bug description
Describe your issue in detail.
🤔 Expected Behavior
What should have happened?
👟 Steps to reproduce
Clear steps describing how to reproduce the issue, including commands and flags run. If you are seeing an error, please include the full error message and stack trace.
🌍 Your environment
Include the relevant details of your environment.
vite+vue3
wasm-pack version:0.10.2
rustc version:1.58.1
The text was updated successfully, but these errors were encountered: