Skip to content

Can tailwind in leptos can compile this code or not ? #2430

Answered by dglsparsons
ALEZ-DEV asked this question in Q&A
Discussion options

You must be logged in to vote

Tailwind in JS recommends against doing this, as the classnames are incomplete.
source.

I don't think there is any reason it would be different in Rust. Realistically, you can't know what classnames are needed ahead of runtime with code written in that manner.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ALEZ-DEV
Comment options

Answer selected by ALEZ-DEV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants