Just started using WeWeb and wondering if there is a way tailwind css can be used directly with WeWeb. Is that possible?
Should be doable with the tailwind CDN dev mode because you can inject the script and use the classes on element.
But with the incoming new class system someone motivated should be able to recreate every tailwind tokens inside weweb and it will offer a far better developer experience.
When is the new class system expected to be available.?
We plan to release it Tuesday
3 Likes
It works great but not worked in editor just in published website.
Any plan to integrate it natively ?
You can load it differently to make it works both in the published app and the editor
Add a workflow on app load
const script = wwLib.getFrontDocument().createElement('script');
script.src = 'https://cdn.tailwindcss.com';
wwLib.getFrontDocument().body.appendChild(script);
We have no plan to add it natively for now.