How do I integrate node modules/npm packages into my Dioxus app? (wasm_bindgen) #1675
Answered
by
ealmloff
FredrikNoren
asked this question in
Q&A
-
I keep finding myself needing to bring in npm packages into my Dioxus app; is there a recommended way to handle that? Specifically, what I want to do is:
Would also be great if this was part of the guide! |
Beta Was this translation helpful? Give feedback.
Answered by
ealmloff
Nov 30, 2023
Replies: 1 comment 5 replies
-
If you are using dioxus web, the wasm-bindgen guide covers this: https://rustwasm.github.io/wasm-bindgen/examples/hello-world.html. Any scripts you bind to will be moved into the bundled |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
FredrikNoren
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are using dioxus web, the wasm-bindgen guide covers this: https://rustwasm.github.io/wasm-bindgen/examples/hello-world.html. Any scripts you bind to will be moved into the bundled
dist
directory automatically by dioxus