-
Notifications
You must be signed in to change notification settings - Fork 0
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
Maybe it's already possible but I can't find a way to do it. I'm trying to do something like this in Leptos:
let mut class = "footer-item.to_owned();
if marked {
class.push_str("footer-item-marked;");
}
view! {
<div class=class>
since "footer-item" and "footer-item-marked" are not used in "class" they are not parsed and added to output.css. Is there a way to force add scroll even if it's not detected as used? Something like:
{
"name": "footer-item-marked",
"force": true,
"spells": []
}
or some notation like g!<spell>; that works with scrolls?
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done