This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
Help: Upgrade to Tailwind 3! #26
Comments
Hi @wmonecke To get TailwindCSS 3 working you have to do some configuration changes.
module.exports = {
content: ['./src/**/*.js'],
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
} (replace purge with content, and remove darkMode) After this changes tailwind 3 works (for me :)). If you have use some features of Tailwind please read the official upgrade Guide of Tailwind |
@schmanat Thanks for the help! I am getting the following error, did you have it too? Do we not need to reconfigure something with node-sass?
This is my node modules:
|
@schmanat Nevermind! You also need to install |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Has anyone been able to upgrade to Tailwind 3 yet? I am getting stuck and have little clue on what to do next.
The text was updated successfully, but these errors were encountered: