mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-26 22:20:19 +00:00
feat: commit code
This commit is contained in:
parent
da0f596cde
commit
69abb89823
1 changed files with 2 additions and 0 deletions
|
@ -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" }
|
||||||
|
|
Loading…
Reference in a new issue