Skip to content

Tailwind in blazor web assembly dotnet 9 #16289

Answered by wongjn
Kroplewski-M asked this question in Help
Discussion options

You must be logged in to vote

Somewhere in the compatibility layer, values get converted to param case if they're defined as camelcase in the JS config. So as a workaround, you could:

  • Do a search-replace to convert usages to param case, i.e. primaryColor to primary-color.
  • Convert your config to CSS @theme, which can retain the camelcasing.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@wongjn
Comment options

wongjn Feb 6, 2025
Collaborator

@Kroplewski-M
Comment options

@Kroplewski-M
Comment options

@wongjn
Comment options

wongjn Feb 6, 2025
Collaborator

Answer selected by Kroplewski-M
@Kroplewski-M
Comment options

@wongjn
Comment options

wongjn Feb 6, 2025
Collaborator

@Kroplewski-M
Comment options

@wongjn
Comment options

wongjn Feb 6, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants