Corbin's avatar

Switching from Tailwind version 0.6.5 to 1.1.2 having problems with classes and not sure how to make a smooth transition?

So I've created a vue project that is using tailwind. What I have to do is port my Laravel projects vue frontend to a vue project. The original project uses Tailwind version 0.6.5 and the new project is using version 1.1.2. It seems like the color pallets classes like bg-grey and text-gray-darker have switched to bg-gray 500 and text-gray-900 is there anyway to quickly port these over without having to do a find and replace for every single color class? I have dozens of different colors that I'm using like this making this port pretty hard.

Also where is the old configuration tailwind.js where I can configure all of the colors? All the tailwind.config.js contains now is this:

module.exports = {
  theme: {
    extend: {}
  },
  variants: {},
  plugins: []
}

Am I screwed and have to essentially spend the week porting all of these colors over? Or is there an easier way to accomplish this?

Thank you

0 likes
1 reply

Please or to participate in this conversation.