You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to figure out how to disable class hashing, cause I find it annoying during development to not be able to see the class names on my HTML. But when I try to use the following, all classes fail to apply:
twind.install({hash: false,});
I assume the problem is the CDN mode automatically does an install call and has some defaults, so trying to install a second time breaks it, or uses the wrong defaults, not merging it with the built-in defaults.
Your Proposal for Changes
I'd like to see a section that shows how to apply certain config overrides without losing the "smart defaults".
Or maybe I misunderstand how to disable hashing, there's also a gap in the docs for hash, it's only listed in the API config that it takes a boolean type. I also saw the below for twind.run which suggests it should work to set it to false:
Documentation Is:
Missing
Link to relevant page or pages
Please Explain in Detail...
I'm using twind like this:
I'm trying to figure out how to disable class hashing, cause I find it annoying during development to not be able to see the class names on my HTML. But when I try to use the following, all classes fail to apply:
I assume the problem is the CDN mode automatically does an install call and has some defaults, so trying to install a second time breaks it, or uses the wrong defaults, not merging it with the built-in defaults.
Your Proposal for Changes
I'd like to see a section that shows how to apply certain config overrides without losing the "smart defaults".
Or maybe I misunderstand how to disable hashing, there's also a gap in the docs for
hash
, it's only listed in the API config that it takes aboolean
type. I also saw the below fortwind.run
which suggests it should work to set it tofalse
:twind/sites/twind.run/src/twind.config.ts
Lines 113 to 114 in 82d72d8
Alternatives considered
No response
The text was updated successfully, but these errors were encountered: