Replies: 1 comment 1 reply
-
I believe the issue is that those are not running in container sandboxes. https://github.com/tailwindcss/playground itself can be used as a codesandbox template, though it seems like csb did some caching and it resolves an older version of tailwindcss (maybe committing the lock file in the repo and updating it with new releases would fix this, needs some testing). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Every sandboxes I saw were using the Tailwind built CSS over CDN, but this method doesn't allow to customize it or use PurgeCSS.
When I try to use it the right way (using
vue-cli-plugin-tailwind
in my tests), there are no error but the CSS isn't compiled. I created a repo in Github with this process, then imported it in Codesandbox, and in the<head>
it just outputs something like this:Here's a simple reproduction test: https://codesandbox.io/s/tailwind-codesandbox-issue-tclfy
The only one sandbox that looks like to use it correctly is this one (using Nuxt) but it's marked as an "Experimental Sandbox", whatever it means: https://codesandbox.io/s/o4vn5pvp7q
Has anyone already succeeded to do this?
Edit: created a discussion in Codesandbox too codesandbox/codesandbox-client#3918
Beta Was this translation helpful? Give feedback.
All reactions