Open EncryptEx opened 1 month ago
nvm I found #28
Further to this, while #28 does indeed work, any classes used within a Blade @class
are not folded.
For example if you were to do something like this (which would always apply the first line of classes, and then only apply the second if the condition was true) ...
@class([
'flex px-3 py-2 accent-primary w-full',
'border-red-500' => $errors->has('name'),
])
... classes within that block are seemingly not folded. It would be nice if it could also look for those within @class([ ... ])
.
On native html files it works for me but I'm experiencing issues while trying to fold TW classes on .blade.php files while using Laravel Framework, e.g (this code does not being folded):
I don't know much if the issue regards the file extension or code structure, bc Blade template files sometimes use custom tags like x-app-layout
Thanks 4 ur time