diff --git a/readme.md b/readme.md index 8673322..cc9727f 100644 --- a/readme.md +++ b/readme.md @@ -100,6 +100,25 @@ Here some additional (optional) steps to enable classes autocompletion using `cl ``` +
+ + + JetBrains IDEs + + +1. Add the following to the ["Tailwind CSS" config in settings](https://blog.jetbrains.com/webstorm/2023/03/webstorm-2023-1/#markup_languages_and_css): + + ```json + { + "experimental": { + "classRegex": [ + ["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] + ] + } + } + ``` +
+ ## Related - [obj-str](https://github.com/lukeed/obj-str) - A smaller (96B) and similiar utility that only works with Objects.