feat: commit code
This commit is contained in:
1 parent
da0f596cde
commit
69abb89823
1 file changed
+2
@@ -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" }
|
||||||
|
|||||||
Reference in new issue
Block a user