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 i18n;
11mod icons;
12mod preview;
13mod router;
14mod theme;
15mod uploads;
16mod util;
17mod views;
18
19fn main() {
20 console_error_panic_hook::set_once();
21 leptos::mount::mount_to_body(app::App);
22}
23