Replies: 1 comment 1 reply
-
The javascript snippets get created by the wasm-bindgen-cli-support crate. They pull out JS from the source code of all dependancies. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone built Dioxus with Bazel? If not, any advice on how to get started with this for the web/wasm dioxus build?
Here's my impression so far. Looking at the comment at cli/src/builder.rs#L25 it looks like
dx
just uses cargo to build the code targetting wasm32, so my projectsCargo.toml
file will have all the info I need to convert the build from cargo to bazel.After that, the additional thing I need to do is replace
dx serve
by having something serve an index,html and wasm. Indist
I also seedioxus-web
anddioxus-interpreter
inassets/dioxus/snippets
, where do those come from, do they depend on my project/build or are they static assets that can be pulled down and served?Beta Was this translation helpful? Give feedback.
All reactions