Integrate bevy in dioxus component page? #2880
Replies: 1 comment
-
I went the custom index.html route! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Reading https://bevy-cheatbook.github.io/platforms/wasm/webpage.htm
We see that we can embed bevy in a page targeting a canvas.
In BevyComponent I tried:
I saw the bevy_dioxus crate but the approach is differing here: I would liek to use a canvas in a component.
It's much simpler that way.
The error I get tells me than my canvas doesn't exists.
So, what's the best way to let Bevy see the canvas ?
Thanks guys,
Beta Was this translation helpful? Give feedback.
All reactions