sqlight: sqlite playground
This commit is contained in:
11
src/bin/app.rs
Normal file
11
src/bin/app.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use leptos::prelude::*;
|
||||
use sqlight::{app::playground, setup_worker};
|
||||
|
||||
use wasm_bindgen::prelude::wasm_bindgen;
|
||||
|
||||
#[wasm_bindgen(main)]
|
||||
async fn main() {
|
||||
console_error_panic_hook::set_once();
|
||||
console_log::init_with_level(log::Level::Debug).unwrap();
|
||||
mount_to_body(playground(setup_worker().await));
|
||||
}
|
||||
Reference in New Issue
Block a user