main.rs
⎇
Raw
1// Leptos' empty `view! {}` (the "render nothing" idiom) expands to a unit
2// expression, which trips these two lints on the macro-generated code.
3#![allow(clippy::unit_arg, clippy::unused_unit)]
4
5mod api;
6mod app;
7mod cm;
8mod components;
9mod editor;
10mod icons;
11mod preview;
12mod router;
13mod theme;
14mod util;
15mod views;
16
17fn main() {
18 console_error_panic_hook::set_once();
19 leptos::mount::mount_to_body(app::App);
20}
21