Hello, I wanted to use the new way of safelisting utilities, introduced in 4.1 https://tailwindcss.com/docs/detecting-classes-in-source-files#safelisting-specific-utilities, but then the CDN doesn’t work anymore. Only the cached file works.
Here is the console error from the frontend:
Error: `@source` paths must be quoted.
at v4.js:129:2043
at rt (v4.js:108:3508)
at rt (v4.js:108:3444)
at iv (v4.js:129:833)
at async bc.t_ [as __unstable__loadDesignSystem] (v4.js:133:1429)
at async e (v4.js:1831:1046)
at async compileClasses (tailwind-compiler.js:114:20)
at async MutationObserver.handleMutations (tailwind-compiler.js:35:9)
You can reproduce it by adding this to the style tab, for example:
So you don’t need any login to fix it.
Thanks for your help.
Kind regards,
Malte
Hello? Any answer for this?
Hi There, I couldn’t’ tested it last week, so I did it right now, and it is working fine for me, no Error on console. and cached file is also contain “underline” without any issue.
Backend Style Tab : https://n.uguu.se/GMZRMzNr.jpg
Frontend : https://h.uguu.se/SgRPKAEm.jpg
For further details, kindly provide your Style Tab content… and did you used Winden Wizard as well with v4 or not ?
Regards,
Arshad
DPlugins Support