|
@@ -469,7 +469,7 @@ pub fn gen_page(config: &DioxusConfig, serve: bool) -> String {
|
|
|
.unwrap_or_default()
|
|
|
.contains_key("tailwindcss")
|
|
|
{
|
|
|
- style_str.push_str("<link rel=\"stylesheet\" href=\"tailwind.css\">\n");
|
|
|
+ style_str.push_str("<link rel=\"stylesheet\" href=\"/{base_path}/tailwind.css\">\n");
|
|
|
}
|
|
|
|
|
|
replace_or_insert_before("{style_include}", &style_str, "</head", &mut html);
|