tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

New v1.2 features are not working in codesandbox #444

Open sanishkr opened 4 years ago

sanishkr commented 4 years ago

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/tailwindcss@1.2.0/dist/tailwind.min.css" dependency in external resources.

adamwathan commented 4 years ago

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.

sanishkr commented 4 years ago

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