# Sage 9 with TailwindCss yarn build:production is missing styles. The most suggested fix is not working for me

**URL:** https://discourse.roots.io/t/sage-9-with-tailwindcss-yarn-build-production-is-missing-styles-the-most-suggested-fix-is-not-working-for-me/18354
**Category:** sage
**Tags:** webpack
**Created:** 2020-05-28T18:14:53Z
**Posts:** 3
**Showing post:** 2 of 3

## Post 2 by @empiguet — 2020-05-29T14:08:22Z

hello,

did you try to upgrade Tailwind to 1.4?

```
yarn add -D tailwindcss
```

then modifiy the tailwind.config.js **AND CHECK THE PATHS**

```
const { PWD } = process.env; // This will not have a trailing slash

module.exports = {
  purge: {
     content: [
      `${PWD}/resources/views/**/*.blade.php`,
      `${PWD}/resources/views/layouts/*.blade.php`,
      `${PWD}/resources/views/partials/*.blade.php`,
      `${PWD}/resources/assets/scripts/**/*.{js,vue}`,
    ],
  },
```

see: [Using Tailwind CSS 1.4’s built-in PurgeCSS Options with Sage 9](https://discourse.roots.io/t/using-tailwind-css-1-4-s-built-in-purgecss-options-with-sage-9/18158/4)

---

_[View the full topic](https://discourse.roots.io/t/sage-9-with-tailwindcss-yarn-build-production-is-missing-styles-the-most-suggested-fix-is-not-working-for-me/18354)._
