---
title: "Discussion on \"Don't upgrade to Tailwind 4 if you're using @apply\" | Hashnode"
description: "Discussion on \"Don't upgrade to Tailwind 4 if you're using @apply\". Ran into a @apply error after upgrading to TailwindCSS v4? Here's why I rolled back to v3 and how you can avoid the same issue."
url: "https://hashnode.com/posts/dont-upgrade-to-tailwind-4-if-youre-using-apply/67f505692eec268042f7021a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Don't upgrade to Tailwind 4 if you're using @apply](https://zougari47.hashnode.dev/dont-upgrade-to-tailwind-4-if-youre-using-apply?utm_source=hashnode&utm_medium=feed)

Ran into a @apply error after upgrading to TailwindCSS v4? Here's why I rolled back to v3 and how you can avoid the same issue.

Apr 8, 2025 · 1 min read · zougari47.hashnode.dev  
Updated Jul 28, 2025  
Read the article

-   [#tailwind-css](https://hashnode.com/tag/tailwind-css)

## Written by

[Ahmed Zougari](https://hashnode.com/@zougari47)

@zougari47 · Morocco

  
[View profile](https://hashnode.com/@zougari47)

Full-Stack React, TypeScript & AI Developer, Marrakech, Morocco

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
