stylers
stylers copied to clipboard
`style_sheet!` macro not working.
I can't get style_sheet!
macro to work.
Step to reproduce:
cargo leptos new --git https://github.com/leptos-rs/start
Create a file src/test.css
with the content:
h1 {
color: red !important;
}
And in HomePage
add:
let class_name = style_sheet!("./src/test.css");
...
view! { class = class_name,
...
}
The expected result is the text being red, but no style is applied no matter what.
If you can not reproduce, I can make a Dockerfile of it.