-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mode: 'jit'
with 2.1.0
causing issues.
#293
Comments
I'm also having this issue, although my output suggests a TypeError:
It initializes successfully when |
The error I mentioned was fixed. The one @timothyjoelwright mentioned is because |
mode: jit
with 2.1.0
causing issues.mode: 'jit'
with 2.1.0
causing issues.
do we have an ETA to make it work with the latest version and jit mode enabled? |
I got a workaround working by using an environment variable to determine the mode for the Tailwind config: let mode;
if (process.env.TAILWIND_JIT) {
mode = 'jit';
}
module.exports = {
mode,
// ...,
}; in your {
"scripts": {
"dev": "TAILWIND_JIT=true next dev"
}
} Although, a proper solution would be great 😄 |
Brad mentioned a quick fix that basically makes it work like you're not using |
This is fixed in |
Hi!
When I use
mode: 'jit'
I get the following error intailwindcss-intellisense
output.The text was updated successfully, but these errors were encountered: