v4 alpha does not work on Stackblitz
Problem
What version of Tailwind CSS are you using? 4.0.0-alpha.6 What build tool (or framework if it abstracts the build tool) are you using? Vite 5.1.5 What version of Node.js are you using? v18.18.0 What browser are you using? Chrome What operating system are you using? StackBlitz Reproduction URL https://stackblitz.com/edit/vitejs-vite-bhcbjy?file=vite.config.js&terminal=dev A Tailwind Play link or public GitHub repo that includes a minimal reproduction of the bug. Please do not link to your actual project, what we need instead is a _minimal_ reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private/confidential, since we want a link to a separate, isolated reproduction anyways. A reproduction is required when filing an issue — any issue opened without a reproduction will be closed and you'll be asked to create a new issue that includes a reproduction. We're a small team and we can't keep up with the volume of issues we receive if we need to reproduce each issue from scratch ourselves. Describe your issue [code block]
Error Output
error when starting dev server:
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: v4 alpha does not work on Stackblitz
In v3, we used to share a stackblitz to our users to reproduce bugs easily. We provide a tailwind based design system with custom themes (we reset some namespaces, such as colors, spacing, etc with our own semantic). This is no longer possible with v4 unless tailwind support WASM like @laktek said above.
Trust Score
6 verifications
- 1
In v3, we used to share a stackblitz to our users to reproduce bugs easily. We p
In v3, we used to share a stackblitz to our users to reproduce bugs easily. We provide a tailwind based design system with custom themes (we reset some namespaces, such as colors, spacing, etc with our own semantic). This is no longer possible with v4 unless tailwind support WASM like @laktek said above.
Validation
Resolved in tailwindlabs/tailwindcss GitHub issue #13133. Community reactions: 14 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep