discuss icon indicating copy to clipboard operation
discuss copied to clipboard

New v1.2 features are not working in codesandbox

Open sanishkr opened this issue 5 years ago • 2 comments

New features like transform scale-50 skew-y-6 are not working in codesandbox after upgrading. It does work after adding cdn "https://unpkg.com/[email protected]/dist/tailwind.min.css" dependency in external resources.

sanishkr avatar Feb 07 '20 12:02 sanishkr

It looks like your sandbox is just using a static precompiled CSS file that’s not actually being rebuilt. What template did you start with? Tailwinds build features only work with server templates on CS.

adamwathan avatar Feb 08 '20 13:02 adamwathan

I just upgraded tailwind with new version which I had actually started with cra template. I did similar update in my local setup and it works fine. I think it is not doing the step "build:style": "tailwind build src/styles/index.css -o src/styles/tailwind.css", in package.json like you said. Let me know if there is any way to fix or use new TW version in CS. Thanks @adamwathan

sanishkr avatar Feb 09 '20 07:02 sanishkr