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 recently ran into this tool and it's totally awesome. However I wasn't able to use it since my classes are prefixed with tw-.
A good way to solve this could be allowing users to import their config file, so if they have a custom configuration the app can take it into account.
There are obviously some questions/difficulties, like plugins for example, but maybe supporting a basic config file with no plugins or imports could be a good way to start.
The text was updated successfully, but these errors were encountered:
An interesting situation. I suppose the workaround right now is to manually find and remove all instances of the tw- prefix.
I guess a function could be added to strip the prefix from the input before processing it, referencing how the prefix is used.
It could involve a small text box in the top header to input your prefix. Then when you paste the classes with prefix, they will be stripped (internally in server) during processing, and also added back to the generated CSS.
Is there any other reason to support config files besides the prefix situation?
I recently ran into this tool and it's totally awesome. However I wasn't able to use it since my classes are prefixed with
tw-
.A good way to solve this could be allowing users to import their config file, so if they have a custom configuration the app can take it into account.
There are obviously some questions/difficulties, like plugins for example, but maybe supporting a basic config file with no plugins or imports could be a good way to start.
The text was updated successfully, but these errors were encountered: