bevy_web_fullscreen
plugin for automatic resizing of primary bevy window to fit browser viewport
tested with mrks-its/bevy_webgl2 in ostwilkens/arugio
usage
.add_plugin(FullViewportPlugin)
recommended html/css
}
}
Conditional compilation
Make use of this cfg in order to have your code only include the plugin when targeting wasm.
app.add_plugin;