|
@@ -460,13 +460,7 @@ pub fn gen_page(config: &DioxusConfig, serve: bool) -> String {
|
|
&style.to_str().unwrap(),
|
|
&style.to_str().unwrap(),
|
|
))
|
|
))
|
|
}
|
|
}
|
|
- if config
|
|
|
|
- .application
|
|
|
|
- .tools
|
|
|
|
- .clone()
|
|
|
|
- .unwrap_or_default()
|
|
|
|
- .contains_key("tailwindcss")
|
|
|
|
- {
|
|
|
|
|
|
+ if config.application.tools.clone().contains_key("tailwindcss") {
|
|
style_str.push_str("<link rel=\"stylesheet\" href=\"/{base_path}/tailwind.css\">\n");
|
|
style_str.push_str("<link rel=\"stylesheet\" href=\"/{base_path}/tailwind.css\">\n");
|
|
}
|
|
}
|
|
|
|
|