feat: commit code

This commit is contained in:
mrxiaozhuox 2022-02-11 10:57:53 +08:00
parent da0f596cde
commit 69abb89823

View file

@ -9,7 +9,9 @@ fn main() {
fn app(cx: Scope) -> Element { fn app(cx: Scope) -> Element {
let window = dioxus::desktop::use_window(&cx); let window = dioxus::desktop::use_window(&cx);
// if you want to make window fullscreen, you need close the resizable.
// window.set_fullscreen(true); // window.set_fullscreen(true);
// window.set_resizable(false);
cx.render(rsx!( cx.render(rsx!(
link { href:"https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css", rel:"stylesheet" } link { href:"https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css", rel:"stylesheet" }