Remove unused `greet` argument.

master
josephrocca 1 year ago committed by GitHub
parent 2b676226b6
commit 4da7e4ae8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      docs/src/quickstart.md

@ -6,7 +6,7 @@
1. `cd hello-wasm`
1. Run `wasm-pack build --target web`.
1. This tool generates files in a `pkg` dir
1. Import it: `import init, { greet } from "./pkg/hello_wasm.js"`, initialize it: `await init()`, and then use it: `greet("WebAssembly")`
1. Import it: `import init, { greet } from "./pkg/hello_wasm.js"`, initialize it: `await init()`, and then use it: `greet()`
1. To publish to npm, run `wasm-pack publish`. You may need to login to the
registry you want to publish to. You can login using `wasm-pack login`.

Loading…
Cancel
Save