Tailwind 3.4 to 4 conversion

Hi there ,
Does anyone knows ( or knows the tutorials ) how to convert the Tailwind 3.4 projects to Tailwind 4 within Pinegrow ?

Many Thanks :slight_smile:

Hello Hello,

There’s no automation for now, BUT there’s a VERY VERY simple way that’s coming in the next Pinegrow update. (I don’t have the ETA at the moment).

1 Like

There’s an official upgrade tool to streamline the process and we use it often in the classroom.

Using the Upgrade Tool

Run the upgrade command in your project’s root directory (make a backup before, just in case}:

npx @tailwindcss/upgrade

This tool automates most of the migration, including updating dependencies and modifying configuration files.

Ensure your environment is updated—the upgrade tool requires Node.js 20 or higher.

Review the changes in a new branch before merging to ensure everything works correctly.

Thanks @oleteacher, but I think the question was more about a method for Tailwind users through Pinegrow, so a dedicated helper will appear in the next version. :wink:

Totally understand the question. Was I simply trying to help with now, in the present until you guys bring the future :slight_smile: I will refrain from any future conversation unless directly associated with Pinegrow.

1 Like

Thank you everybody for the replay… As to the Pinegrow team - please roll out the update very soon !

1 Like

Oh, I’m sorry if my comment was misunderstood. I didn’t mean to limit answers that go beyond Pinegrow. Sorry if I expressed myself poorly or was misunderstood.

Can you provide the work around until the update is roll out please ?