Simplify the app bootstrapping
This commit is contained in:
parent
0808252ad2
commit
6cc1a9e967
1 changed files with 2 additions and 5 deletions
|
@ -1,13 +1,10 @@
|
|||
#![recursion_limit = "256"]
|
||||
|
||||
use wasm_bindgen::prelude::*;
|
||||
use yew::prelude::*;
|
||||
|
||||
mod components;
|
||||
|
||||
use components::Root;
|
||||
use wasm_bindgen::prelude::*;
|
||||
|
||||
#[wasm_bindgen(start)]
|
||||
pub fn run_app() {
|
||||
App::<Root>::new().mount_to_body();
|
||||
yew::start_app::<components::Root>();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue