Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

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

Open
sanishkr opened this issue Feb 7, 2020 · 2 comments
Open

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

sanishkr opened this issue Feb 7, 2020 · 2 comments

Comments

@sanishkr
Copy link

sanishkr commented Feb 7, 2020

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.

@adamwathan
Copy link
Member

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 adamwathan transferred this issue from tailwindlabs/tailwindcss Feb 8, 2020
@sanishkr
Copy link
Author

sanishkr commented Feb 9, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants