From 29bda8aa487e9f49515ec498a23b83aa20ee2418 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Sat, 16 Apr 2022 16:59:41 -0400 Subject: [PATCH] docs: use tailwindv3 in examples --- examples/tailwind.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/tailwind.rs b/examples/tailwind.rs index 6611fc47b..e0cb2339a 100644 --- a/examples/tailwind.rs +++ b/examples/tailwind.rs @@ -11,12 +11,13 @@ use dioxus::prelude::*; fn main() { - dioxus::desktop::launch(app); + dioxus::desktop::launch_cfg(app, |c| { + c.with_custom_head("".to_string()) + }); } pub fn app(cx: Scope) -> Element { cx.render(rsx!( - link { href:"https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css", rel:"stylesheet" } div { header { class: "text-gray-400 bg-gray-900 body-font", div { class: "container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center",